Add a comment

This commit is contained in:
Robin Townsend 2023-05-22 15:44:39 -04:00
parent 9c2f4be17c
commit 3c118f0cf7

View File

@ -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);