fix: useEffect dependencies
This commit is contained in:
parent
b24c65e8bc
commit
cf6e5354ec
1 changed files with 1 additions and 1 deletions
|
|
@ -197,7 +197,7 @@ const RefScatterplot = ({ data: realData, timeFrame, timezone }) => {
|
|||
.style('fill', neon)
|
||||
|
||||
/* ************************** */
|
||||
}, [cashIns, cashOuts, realData, timeFrame])
|
||||
}, [cashIns, cashOuts, realData, timeFrame, timezone])
|
||||
|
||||
useEffect(() => {
|
||||
// first we clear old chart DOM elements on component update
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue