Skip to content

Commit

Permalink
🐛 feat: function name
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangchu committed Jan 15, 2024
1 parent 60bc2e0 commit f196dd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FlowEditor/hooks/useFlowEditor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export interface FlowEditorInstance extends PublicStoreAction {
getFlattenEdges: () => FlattenEdges;
getSelectedKeys: () => string[];
reactflow?: ReactFlowInstance;
scrennToFlowPosition: (position: XYPosition) => XYPosition;
screenToFlowPosition: (position: XYPosition) => XYPosition;
}

export const useFlowEditor = (): FlowEditorInstance => {
Expand Down

0 comments on commit f196dd5

Please sign in to comment.