adding route for sign up and such

This commit is contained in:
talksik
2022-03-17 21:42:03 -04:00
parent 444c116f1b
commit 4b2a7f7043
14 changed files with 120 additions and 68 deletions
+3 -3
View File
@@ -6,7 +6,7 @@ export enum Querytypes {
}
export function useGetUserDetails() {
return useQuery(Querytypes.GET_USER_DETAILS, nirvanaApi.getUserDetails, {
retry: true,
});
return useQuery(Querytypes.GET_USER_DETAILS, () =>
nirvanaApi.getUserDetails()
);
}