diff --git a/src/settings/ProfileSettingsTab.tsx b/src/settings/ProfileSettingsTab.tsx index 023a7cd2..409c0e6e 100644 --- a/src/settings/ProfileSettingsTab.tsx +++ b/src/settings/ProfileSettingsTab.tsx @@ -45,6 +45,7 @@ export function ProfileSettingsTab({ client }: Props) { useEffect(() => { const form = formRef.current!; + // Auto-save when the user dismisses this component return () => { if (formChanged.current) { const data = new FormData(form);