Skip to content

Commit

Permalink
fix: analytics script configuration is not updated when api key is ge…
Browse files Browse the repository at this point in the history
…nerated gf-597 (#598)
  • Loading branch information
ArtemZag authored Oct 4, 2024
1 parent 02aa28b commit 917dea8
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,13 @@ const SetupAnalyticsModal = ({
handleValueSet("analyticsScript", analyticsScript);
}, [handleValueSet, analyticsScript]);

useEffect(() => {
handleValueSet(
"analyticsScriptConfiguration",
analyticsScriptConfiguration,
);
}, [handleValueSet, analyticsScriptConfiguration]);

return (
<Modal isOpened={isOpened} onClose={onClose} title="Setup Analytics">
<div className={styles["content"]}>
Expand Down

0 comments on commit 917dea8

Please sign in to comment.