refactor(react/svelte): cleanup types

This commit is contained in:
moklick
2023-02-28 18:16:51 +01:00
parent dda21e1fd2
commit 63bb2045f4
96 changed files with 899 additions and 847 deletions
+2 -1
View File
@@ -1,7 +1,8 @@
import { shallow } from 'zustand/shallow';
import type { Viewport, ReactFlowState } from '@reactflow/system';
import type { Viewport } from '@reactflow/system';
import { useStore } from '../hooks/useStore';
import type { ReactFlowState } from '../types';
const viewportSelector = (state: ReactFlowState) => ({
x: state.transform[0],