Avoid crushing on Chrome v128 when using plotlypy mode

This commit is contained in:
c-bata
2024-08-28 17:21:58 +09:00
parent a65618e5bc
commit 4f59ae87db
@@ -39,7 +39,11 @@ const GraphParallelCoordinateBackend: FC<{
useEffect(() => {
if (data && layout && graphComponentState !== "componentWillMount") {
plotly.react(plotDomId, data, layout).then(notifyGraphDidRender)
try {
plotly.react(plotDomId, data, layout).then(notifyGraphDidRender)
} catch (err) {
console.error(err)
}
}
}, [data, layout, graphComponentState])
useEffect(() => {