mirror of
https://github.com/reconurge/flowsint.git
synced 2026-04-28 02:09:31 -05:00
feat(app): remove paste feature
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { useCallback } from 'react'
|
||||
import { useGraphStore } from '@/stores/graph-store'
|
||||
import { useCreateOnPaste } from './use-create-on-paste'
|
||||
// import { useCreateOnPaste } from './use-create-on-paste'
|
||||
import { useKeyboardShortcut } from '@/hooks/use-keyboard-shortcut'
|
||||
|
||||
export const useKeyboardEvents = (sketchId: string) => {
|
||||
@@ -11,7 +11,7 @@ export const useKeyboardEvents = (sketchId: string) => {
|
||||
setSelectedNodes(filteredNodes)
|
||||
}, [filteredNodes, setSelectedNodes])
|
||||
|
||||
useCreateOnPaste(sketchId)
|
||||
// useCreateOnPaste(sketchId)
|
||||
useKeyboardShortcut({
|
||||
key: 'a',
|
||||
ctrlOrCmd: true,
|
||||
|
||||
Reference in New Issue
Block a user