Open/close chart panel automatically
This commit is contained in:
@@ -26,6 +26,7 @@ function ChartPreview(props: Props) {
|
||||
topic: props.treeNode.path(),
|
||||
dotPath: props.literal.path,
|
||||
})
|
||||
setOpen(false)
|
||||
}, [props.literal.path, props.treeNode])
|
||||
|
||||
const mouseOver = React.useCallback(() => {
|
||||
|
||||
Reference in New Issue
Block a user