refactor(useKeyPress): check if key code is string

This commit is contained in:
moklick
2022-01-03 17:54:26 +01:00
parent 7a7ddbedb6
commit f01e239947
2 changed files with 1 additions and 3 deletions
-2
View File
@@ -51,8 +51,6 @@ const InteractionFlow = () => {
const [captureZoomScroll, setCaptureZoomScroll] = useState<boolean>(false);
const [captureElementClick, setCaptureElementClick] = useState<boolean>(false);
console.log(11, captureElementClick);
return (
<ReactFlow
nodes={nodes}