chore(docs): cleanup

This commit is contained in:
braks
2024-01-29 19:46:56 +01:00
committed by Braks
parent 8a888a9194
commit 1eefc8860e
2 changed files with 3 additions and 4 deletions

View File

@@ -39,6 +39,7 @@ body,
const store = new ReplStore({
showOutput: true,
outputMode: 'preview',
})
const files: Record<string, (typeof imports)[keyof typeof imports]> = {}

View File

@@ -56,7 +56,7 @@ const initialEdges = [
style: { strokeWidth: 4, stroke: '#0ea5e9' },
},
]
const { getNodes, findNode, setEdges, updateNodeInternals, dimensions, onPaneReady } = useVueFlow({
const { getNodes, findNode, setEdges, updateNodeInternals, dimensions } = useVueFlow({
nodes: [
{ id: 'intro', type: 'box', position: { x: 0, y: 0 } },
{ id: 'examples', type: 'box', position: { x: -50, y: 400 } },
@@ -177,9 +177,7 @@ const setElements = useDebounceFn(() => {
})
}, 1)
onMounted(() => {
useResizeObserver(el, setElements)
})
useResizeObserver(el, setElements)
function scrollTo() {
const el = document.getElementById('acknowledgement')