From 70978fbbdfde720bfb3bd76dfd932683cf93dfea Mon Sep 17 00:00:00 2001 From: Dhruwang Jariwala <67850763+Dhruwang@users.noreply.github.com> Date: Thu, 20 Nov 2025 18:56:55 +0530 Subject: [PATCH] fix: update preview when props change (#6860) --- apps/web/modules/ui/components/survey/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/modules/ui/components/survey/index.tsx b/apps/web/modules/ui/components/survey/index.tsx index 722e0c24d1..62abf69421 100644 --- a/apps/web/modules/ui/components/survey/index.tsx +++ b/apps/web/modules/ui/components/survey/index.tsx @@ -80,7 +80,7 @@ export const SurveyInline = (props: Omit) = loadScript(); // eslint-disable-next-line react-hooks/exhaustive-deps - }, []); + }, [props]); useEffect(() => { if (isScriptLoaded) {