chore(store): remove unused stuff
This commit is contained in:
4
packages/core/src/custom.d.ts
vendored
4
packages/core/src/custom.d.ts
vendored
@@ -11,7 +11,3 @@ declare module '*.svg' {
|
||||
export default svgUrl;
|
||||
export { svgComponent as ReactComponent };
|
||||
}
|
||||
|
||||
declare const __REACT_FLOW_VERSION__: string;
|
||||
declare const __ENV__: string;
|
||||
declare const __INJECT_STYLES__: boolean;
|
||||
|
||||
@@ -44,8 +44,6 @@ const initialState: ReactFlowStore = {
|
||||
|
||||
multiSelectionActive: false,
|
||||
|
||||
reactFlowVersion: typeof __REACT_FLOW_VERSION__ !== 'undefined' ? __REACT_FLOW_VERSION__ : '-',
|
||||
|
||||
connectionStartHandle: null,
|
||||
connectOnClick: true,
|
||||
|
||||
|
||||
@@ -167,8 +167,6 @@ export type ReactFlowStore = {
|
||||
|
||||
multiSelectionActive: boolean;
|
||||
|
||||
reactFlowVersion: string;
|
||||
|
||||
connectionStartHandle: StartHandle | null;
|
||||
|
||||
onNodeDragStart?: NodeDragHandler;
|
||||
|
||||
Reference in New Issue
Block a user