diff --git a/src/views/landingPage/Graph/Graph.js b/src/views/landingPage/Graph/Graph.js
index 1296688c64769f414bce7d76be3f1be050c59599..04b5573dce931256ec148e10c50451fcd117ae9e 100644
--- a/src/views/landingPage/Graph/Graph.js
+++ b/src/views/landingPage/Graph/Graph.js
@@ -47,11 +47,12 @@ function Graph(props) {
} else if (activeData.status === REQUEST_STATE.success) {
const {series, styling} = generateSeries({plotId, data: activeData.data, modelsSlice, xAxisRange, yAxisRange});
const options = getOptions({plotId, styling, plotTitle});
- return
+ const uniqueNumber = Date.now(); // forces apexcharts to re-render correctly!
+ return
};
// this "case" should not happen
return CRITICAL: an internal error occurred that shouldn't happen!;
}
-export default React.memo(Graph); // prevent graph from rerendering if sidebar is opened and closed
+export default React.memo(Graph, () => true); // prevent graph from rerendering if sidebar is opened and closed