Skip to content

A modern platform for visual, flexible, and extensible graph-based investigations. For cybersecurity analysts and investigators.

feat(app): remove paste feature

dextmorgnab1b7f5c24bc
diff --git a/flowsint-app/src/components/sketches/graph/hooks/use-keyboard-events.ts b/flowsint-app/src/components/sketches/graph/hooks/use-keyboard-events.ts
index 4386b3c0..350c6690 100644
--- a/flowsint-app/src/components/sketches/graph/hooks/use-keyboard-events.ts
+++ b/flowsint-app/src/components/sketches/graph/hooks/use-keyboard-events.ts
@@ -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,