chore: prettier config

husky needs to be delegated to v11 since it breaks with node 14 + 22
combo
This commit is contained in:
Rafael 2024-12-03 09:33:06 +00:00
parent dbca0c8a8c
commit d3c3de66fe
65 changed files with 1542 additions and 22553 deletions

View file

@ -404,10 +404,7 @@ const Graph = ({
)
// Left side breakpoint label
.call(g => {
const separator = d3
?.select('.dateSeparator')
?.node()
?.getBBox()
const separator = d3?.select('.dateSeparator')?.node()?.getBBox()
if (!separator) return
@ -428,10 +425,7 @@ const Graph = ({
})
// Right side breakpoint label
.call(g => {
const separator = d3
?.select('.dateSeparator')
?.node()
?.getBBox()
const separator = d3?.select('.dateSeparator')?.node()?.getBBox()
if (!separator) return
@ -560,9 +554,7 @@ const Graph = ({
])
useEffect(() => {
d3.select(ref.current)
.selectAll('*')
.remove()
d3.select(ref.current).selectAll('*').remove()
drawChart()
}, [drawChart])