Use client side fetching for user data (#211)

This commit is contained in:
Luke Vella 2022-06-28 12:13:49 +01:00 committed by GitHub
parent 1d768083ee
commit 368f324865
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 93 additions and 63 deletions

View file

@ -51,7 +51,7 @@ export const createToken = async <T extends Record<string, unknown>>(
});
};
const createGuestUser = async (): Promise<{
export const createGuestUser = async (): Promise<{
isGuest: true;
id: string;
}> => {