diff --git a/react-app/src/components/ActionForm/index.tsx b/react-app/src/components/ActionForm/index.tsx index 35cf6cd44..138dec22d 100644 --- a/react-app/src/components/ActionForm/index.tsx +++ b/react-app/src/components/ActionForm/index.tsx @@ -174,6 +174,7 @@ export const ActionForm = ({ pathnameToDisplayOn: formOrigins.pathname, }); + // Prevent stale data from displaying on formOrigins page await queryClient.invalidateQueries({ queryKey: ["record"] }); navigate(formOrigins); } catch (error) {