We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 828fc10 commit 8c8e3a5Copy full SHA for 8c8e3a5
2 files changed
src/features/dashboard/sandbox/inspect/dir.tsx
@@ -6,10 +6,11 @@ import { cn } from '@/lib/utils'
6
import { Loader } from '@/ui/loader'
7
import { DataTableRow } from '@/ui/data-table'
8
import { motion } from 'motion/react'
9
+import { FileType } from 'e2b'
10
11
interface SandboxInspectDirProps {
12
dir: FilesystemNode & {
- type: 'dir'
13
+ type: FileType.DIR
14
}
15
16
src/features/dashboard/sandbox/inspect/file.tsx
@@ -4,7 +4,7 @@ import { DataTableRow } from '@/ui/data-table'
4
5
interface SandboxInspectFileProps {
file: FilesystemNode & {
- type: 'file'
+ type: FileType.FILE
0 commit comments