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
@@ -45,7 +45,7 @@
"classcat": "^5.0.3",
"d3-selection": "^3.0.0",
"d3-zoom": "^3.0.0",
"zustand": "^4.1.1"
"zustand": "^4.3.1"
},
"peerDependencies": {
"react": ">=17",
+1 -1
View File
@@ -3,7 +3,7 @@
import { memo, useEffect, useRef } from 'react';
import type { MouseEvent } from 'react';
import cc from 'classcat';
import shallow from 'zustand/shallow';
import { shallow } from 'zustand/shallow';
import { zoom, zoomIdentity } from 'd3-zoom';
import type { D3ZoomEvent } from 'd3-zoom';
import { select, pointer } from 'd3-selection';