update: seperate routes for login and signup added

This commit is contained in:
anik-ghosh-au7
2022-05-18 20:04:29 +05:30
parent 2c4bc9adb6
commit a638f02014
7 changed files with 241 additions and 18 deletions

View File

@@ -20,3 +20,5 @@ export const createQueryParams = (params: any) => {
.map((k) => encodeURIComponent(k) + '=' + encodeURIComponent(params[k]))
.join('&');
};
export const hasWindow = (): boolean => typeof window !== 'undefined';