mirror of
https://github.com/formbricks/formbricks.git
synced 2026-01-09 08:51:11 -06:00
fix: update preview when props change (#6860)
This commit is contained in:
committed by
GitHub
parent
f6683d1165
commit
70978fbbdf
@@ -80,7 +80,7 @@ export const SurveyInline = (props: Omit<SurveyContainerProps, "containerId">) =
|
||||
|
||||
loadScript();
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, []);
|
||||
}, [props]);
|
||||
|
||||
useEffect(() => {
|
||||
if (isScriptLoaded) {
|
||||
|
||||
Reference in New Issue
Block a user