From f1a2ae16c1051e88383a9903c20522f780ea6f03 Mon Sep 17 00:00:00 2001 From: Thomas Nordquist Date: Tue, 18 Jun 2019 17:05:22 +0200 Subject: [PATCH] Fix plot theme switch --- app/src/components/Sidebar/PlotHistory.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/components/Sidebar/PlotHistory.tsx b/app/src/components/Sidebar/PlotHistory.tsx index 33ac41b..8a7c34b 100644 --- a/app/src/components/Sidebar/PlotHistory.tsx +++ b/app/src/components/Sidebar/PlotHistory.tsx @@ -84,7 +84,7 @@ export default withTheme((props: Props) => { ) - }, [width, props.data, tooltip, props.interpolation, props.range]) + }, [width, props.data, tooltip, props.interpolation, props.range, props.color, props.theme]) }) function domainForData(data: Array<{ x: number; y: number }>): [number, number] {