Skip to content

Commit 2161b99

Browse files
committed
feat: import icons in files-tree components
1 parent 400b653 commit 2161b99

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/components/Code/DirectoryListing.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script setup lang="ts">
22
import type { PackageFileTree } from '#shared/types'
33
import type { RouteLocationRaw } from 'vue-router'
4-
import { getFileIcon } from '~/utils/file-icons'
4+
import { ADDITIONAL_ICONS, getFileIcon } from '~/utils/file-icons'
55
66
const props = defineProps<{
77
tree: PackageFileTree[]

app/components/Code/FileTree.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script setup lang="ts">
22
import type { PackageFileTree } from '#shared/types'
33
import type { RouteLocationRaw } from 'vue-router'
4-
import { getFileIcon } from '~/utils/file-icons'
4+
import { ADDITIONAL_ICONS, getFileIcon } from '~/utils/file-icons'
55
66
const props = defineProps<{
77
tree: PackageFileTree[]

0 commit comments

Comments
 (0)