Make derivedWarning an error and bind store instances

This commit is contained in:
peterkogo
2025-04-14 10:54:29 +02:00
parent 74c2e0778b
commit c7dea22853
15 changed files with 131 additions and 141 deletions
@@ -7,7 +7,7 @@
import type { SvelteFlowStore } from '$lib/store/types';
let {
store,
store = $bindable(),
nodeClickDistance,
onnodeclick,
onnodecontextmenu,
@@ -46,7 +46,7 @@
<div class="svelte-flow__nodes">
{#each store.visible.nodes.values() as node (node.id)}
<NodeWrapper
{store}
bind:store
{node}
{resizeObserver}
{nodeClickDistance}