fix: prevent unsaved organization form fields from resetting on window focus

This commit is contained in:
Mauricio Siu
2026-08-27 01:29:20 -06:00
parent 2a585933e9
commit f46cd4601c
@@ -48,6 +48,7 @@ export function AddOrganization({ organizationId }: Props) {
}, },
{ {
enabled: !!organizationId, enabled: !!organizationId,
refetchOnWindowFocus: false,
}, },
); );
const { mutateAsync, isPending } = organizationId const { mutateAsync, isPending } = organizationId