diff --git a/client/src/components/SettingsForm.tsx b/client/src/components/SettingsForm.tsx index 6405c79..3a23669 100644 --- a/client/src/components/SettingsForm.tsx +++ b/client/src/components/SettingsForm.tsx @@ -190,7 +190,7 @@ export default function SettingsForm({ logbookId, onLogbookRestored }: SettingsF trackPlausibleEvent(PlausibleEvents.PUSH_ENABLED) } catch (err: unknown) { console.error('Failed to enable push after invite:', err) - showAlert(err instanceof Error ? err.message : t('profile.push_error')) + await showAlert(err instanceof Error ? err.message : t('profile.push_error')) } }