Skip to content

Commit f1a2ae1

Browse files
Fix plot theme switch
1 parent 7904cb2 commit f1a2ae1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/components/Sidebar/PlotHistory.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export default withTheme((props: Props) => {
8484
<ReactResizeDetector handleWidth={true} onResize={detectResize} />
8585
</div>
8686
)
87-
}, [width, props.data, tooltip, props.interpolation, props.range])
87+
}, [width, props.data, tooltip, props.interpolation, props.range, props.color, props.theme])
8888
})
8989

9090
function domainForData(data: Array<{ x: number; y: number }>): [number, number] {

0 commit comments

Comments
 (0)