use $derived(useStore()) in plugin components

This commit is contained in:
peterkogo
2025-05-15 13:56:15 +02:00
parent 8f3b98a964
commit 2cb0ee881e
5 changed files with 13 additions and 13 deletions
@@ -41,7 +41,7 @@
...rest
}: MiniMapProps = $props();
let store = useStore();
let store = $derived(useStore());
const nodeColorFunc = nodeColor === undefined ? undefined : getAttrFunction(nodeColor);
const nodeStrokeColorFunc = getAttrFunction(nodeStrokeColor);