Skip to content

Commit

Permalink
fix: remove chartFromAPI store action
Browse files Browse the repository at this point in the history
  • Loading branch information
okorie2 committed Oct 14, 2023
1 parent 290e695 commit 5d4c08f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/app/modules/chart-module/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,7 @@ export default function ChartModule() {
const resetChartType = useStoreActions(
(actions) => actions.charts.chartType.reset
);
const resetChartFromAPI = useStoreActions(
(actions) => actions.charts.chartFromAPI.reset
);

const resetDataset = useStoreActions(
(actions) => actions.charts.dataset.reset
);
Expand Down Expand Up @@ -189,7 +187,7 @@ export default function ChartModule() {
resetChartType();
resetAppliedFilters();
resetEnabledFilterOptionGroups();
resetChartFromAPI();

clearChart();
}

Expand Down

0 comments on commit 5d4c08f

Please sign in to comment.