[Glitch] Fix log out from user menu not working on Safari

Port c3e1d86d58 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Renaud Chaput
2024-08-13 19:49:23 +02:00
committed by Claire
parent a190efcd6d
commit 09929a42f7
2 changed files with 18 additions and 36 deletions

View File

@@ -25,7 +25,7 @@ export const ConfirmLogOutModal: React.FC<BaseConfirmationModalProps> = ({
const intl = useIntl();
const onConfirm = useCallback(() => {
logOut();
void logOut();
}, []);
return (