fix: stale envelope editor query (#2633)

This commit is contained in:
David Nguyen 2026-03-19 17:22:07 +11:00 committed by GitHub
parent dd1b6d7dfe
commit b2d395e00b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View file

@ -33,6 +33,7 @@ export default function EnvelopeEditorPage({ params }: Route.ComponentProps) {
},
{
retry: false,
gcTime: 0,
...DO_NOT_INVALIDATE_QUERY_ON_MUTATION,
},
);

View file

@ -357,6 +357,7 @@ export const EnvelopeEditorProvider = ({
},
{
enabled: !isEmbedded,
gcTime: 0,
...DO_NOT_INVALIDATE_QUERY_ON_MUTATION,
},
);