We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31ed712 commit de91dc9Copy full SHA for de91dc9
apps/sim/app/workspace/[workspaceId]/w/hooks/use-duplicate-folder.ts
@@ -6,18 +6,8 @@ import { useFolderStore } from '@/stores/folders/store'
6
const logger = createLogger('useDuplicateFolder')
7
8
interface UseDuplicateFolderProps {
9
- /**
10
- * Current workspace ID
11
- */
12
workspaceId: string
13
14
- * Function that returns the folder ID(s) to duplicate
15
- * This function is called when duplication occurs to get fresh selection state
16
17
getFolderIds: () => string | string[]
18
19
- * Optional callback after successful duplication
20
21
onSuccess?: () => void
22
}
23
0 commit comments