Skip to content

Commit

Permalink
Fix external settings clearing settings
Browse files Browse the repository at this point in the history
Signed-off-by: Zvonimir Fras <[email protected]>
  • Loading branch information
zvonimirfras committed Feb 9, 2024
1 parent 4429b18 commit d3b82ff
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sdk/react/src/lib/components/settings-context-pane.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,9 @@ export const SettingsContextPane = ({
proxySetFragment = setFragment;

useEffect(() => {
setSettings(externalSettings);
if (externalSettings) {
setSettings(externalSettings);
}
}, [externalSettings]);

useEffect(() => {
Expand Down

0 comments on commit d3b82ff

Please sign in to comment.