login page
This commit is contained in:
@@ -64,3 +64,8 @@ export const convertToGB = (bytes: number): string => {
|
||||
const GB = bytes / (1024 * 1024 * 1024);
|
||||
return GB.toFixed(2);
|
||||
};
|
||||
|
||||
export const getRedirectUrl = () => {
|
||||
const urlParams = new URLSearchParams(window.location.search);
|
||||
return urlParams.get("redirect");
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user