From 33ee174cfc4b1effbed4b7a5e11dec1aa7bd26cc Mon Sep 17 00:00:00 2001 From: Nathan Curtis Date: Tue, 5 Nov 2024 15:51:07 -0800 Subject: [PATCH] [TM-1454] Regenerate the custom form steps when the framework changes. --- src/hooks/useGetCustomFormSteps/useGetCustomFormSteps.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/useGetCustomFormSteps/useGetCustomFormSteps.ts b/src/hooks/useGetCustomFormSteps/useGetCustomFormSteps.ts index 9c7580d9c..bc121451b 100644 --- a/src/hooks/useGetCustomFormSteps/useGetCustomFormSteps.ts +++ b/src/hooks/useGetCustomFormSteps/useGetCustomFormSteps.ts @@ -18,7 +18,7 @@ export const useGetCustomFormSteps = ( return useMemo( () => (schema ? getCustomFormSteps(schema, t, entity, framework, feedback_fields) : undefined), // eslint-disable-next-line react-hooks/exhaustive-deps - [schema, t] + [schema, t, framework] ); };