chore(zustand): use latest API

This commit is contained in:
moklick
2023-08-14 16:42:11 +02:00
parent aa43a6de02
commit e8c361ac9d
4 changed files with 434 additions and 313 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
import { useContext, useMemo } from 'react';
import { useStore as useZustandStore, type StoreApi } from 'zustand';
import { useStoreWithEqualityFn as useZustandStore } from 'zustand/traditional';
import type { StoreApi } from 'zustand';
import { errorMessages } from '@xyflow/system';
import StoreContext from '../contexts/RFStoreContext';