refac: rm substandard code

This commit is contained in:
Timothy Jaeryang Baek committed 2025-09-07 00:16:07 +04:00
1 parent b70e910e4b
commit eb10ff2ae6
3 files changed
+4 -10

No files matched your search

-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);