chore(zustand): update

This commit is contained in:
moklick
2023-01-10 19:24:01 +01:00
parent 45fb34cc7b
commit ab91fcce43
22 changed files with 317 additions and 165 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
import shallow from 'zustand/shallow';
import { shallow } from 'zustand/shallow';
import { useStore } from '../hooks/useStore';
import type { Viewport, ReactFlowState } from '../types';
+1 -1
View File
@@ -1,6 +1,6 @@
import { useMemo } from 'react';
import { zoomIdentity } from 'd3-zoom';
import shallow from 'zustand/shallow';
import { shallow } from 'zustand/shallow';
import { useStoreApi, useStore } from '../hooks/useStore';
import { pointToRendererPoint, getTransformForBounds, getD3Transition } from '../utils/graph';