Skip to content

Commit

Permalink
fix: infinite query loop
Browse files Browse the repository at this point in the history
  • Loading branch information
haakonflatval-cognite committed Aug 1, 2023
1 parent a24be81 commit 250557e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion react-components/stories/HighlightNode.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ const Querier = ({ fdmConfig }: { fdmConfig: FdmAssetMappingsConfig }): ReactEle
return (): void => {
viewer.off('click', queryAndSetData);
};
});
}, [viewer, sdk, fdmClient, fdmConfig]);

return <>Clicked node content: {JSON.stringify(nodeData)}</>;
};

0 comments on commit 250557e

Please sign in to comment.