11 lines
197 B
TypeScript
11 lines
197 B
TypeScript
import {store} from '#store/stores.svelte';
|
|
|
|
export const useGetNode = () => {
|
|
const getNode = (id: string) => {
|
|
return store.getNode(id);
|
|
};
|
|
return {
|
|
getNode
|
|
};
|
|
};
|