Skip to content

Commit

Permalink
fix await
Browse files Browse the repository at this point in the history
  • Loading branch information
H34D committed Mar 17, 2023
1 parent a56aca0 commit a8d47a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/provider/masa-shape.ts
Expand Up @@ -66,7 +66,7 @@ export interface MasaShape {
isLoggedIn?: boolean;
isSessionLoading?: boolean;
handleLogin?: () => void;
handleLogout?: (logoutCallback?: () => void) => void;
handleLogout?: (logoutCallback?: () => void) => Promise<void>;

// credit scores
creditScores?:
Expand Down
2 changes: 1 addition & 1 deletion src/provider/modules/session/session.ts
Expand Up @@ -10,7 +10,7 @@ export const useSession = (
isLoggedIn?: boolean;
isSessionLoading: boolean;
handleLogin: () => void;
handleLogout: (logoutCallback?: () => void) => void;
handleLogout: (logoutCallback?: () => void) => Promise<void>;
status: string;
error: unknown;
} => {
Expand Down

0 comments on commit a8d47a0

Please sign in to comment.