Skip to content

Commit

Permalink
fix: update type of function used for signout (#800)
Browse files Browse the repository at this point in the history
  • Loading branch information
spaenleh committed Apr 10, 2024
1 parent 59878ef commit 2d63f17
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/UserSwitch/UserSwitchWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,12 @@ interface Props {
seeProfileText?: string;
signedOutTooltipText?: string;
signInMenuItemId?: string;
signOut: (memberId: string) => void;
/**
* Async function used to perform the sign out
* @param memberId Id of the user to sign out (current user)
* @returns Promise of void
*/
signOut: (memberId: string) => Promise<void>;
signOutMenuItemId?: string;
signOutText?: string;
// switchMember: (args: { memberId: string; domain: string }) => Promise<void>;
Expand Down

0 comments on commit 2d63f17

Please sign in to comment.