refac: rm substandard code

This commit is contained in:
Timothy Jaeryang Baek
2025-09-07 00:16:07 +04:00
parent b70e910e4b
commit eb10ff2ae6
3 changed files with 4 additions and 10 deletions
-6
View File
@@ -1521,12 +1521,6 @@ export const extractContentFromFile = async (file: File) => {
}
};
export const querystringValue = (key: string): string | null => {
const querystring = window.location.search;
const urlParams = new URLSearchParams(querystring);
return urlParams.get(key);
};
export const getAge = (birthDate) => {
const today = new Date();
const bDate = new Date(birthDate);