docs: remove unused ref

This commit is contained in:
bcakmakoglu
2022-06-06 23:10:21 +02:00
committed by Braks
parent 90af73dcd3
commit 096a0047d3

View File

@@ -100,7 +100,6 @@ onNodeClick(async ({ node }) => {
}
})
const init = ref(false)
const el = templateRef<HTMLDivElement>('el', null)
const setNodes = () => {
@@ -191,7 +190,6 @@ const setNodes = () => {
nextTick(() => {
fitView()
if (!init.value) init.value = true
})
}