refactor(react/svelte): cleanup types
This commit is contained in:
@@ -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],
|
||||
|
||||
Reference in New Issue
Block a user