Skip to content

Commit

Permalink
Merge pull request #1319 from visualize-admin/fix/datasource-changes
Browse files Browse the repository at this point in the history
fix: Data source changes
  • Loading branch information
bprusinowski authored Jan 29, 2024
2 parents 8fe1e8b + a5afabd commit 21a6347
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/configurator/configurator-state.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1565,6 +1565,10 @@ const ConfiguratorStateProviderInternal = (
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);

useEffect(() => {
dispatch({ type: "DATASOURCE_CHANGED", value: dataSource });
}, [dataSource, dispatch]);

useEffect(() => {
try {
switch (state.state) {
Expand Down

1 comment on commit 21a6347

@vercel
Copy link

@vercel vercel bot commented on 21a6347 Jan 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

visualization-tool – ./

visualization-tool-alpha.vercel.app
visualization-tool-git-main-ixt1.vercel.app
visualization-tool-ixt1.vercel.app

Please sign in to comment.