Skip to content

Commit 8c0693b

Browse files
committed
docs(app): ts error
1 parent 1b6dbce commit 8c0693b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/app/error.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const colorMode = useColorMode()
1212
const { data: navigation } = await useAsyncData('navigation', () => queryCollectionNavigation('docs'))
1313
const { data: files } = await useAsyncData('files', () => queryCollectionSearchSections('docs', { ignoredTags: ['style'] }))
1414
15-
const color = computed(() => colorMode.value === 'dark' ? (colors as any)[appConfig.ui.colors.neutral][900] : 'white')
15+
const color = computed(() => colorMode.value === 'dark' ? colors[appConfig.ui.colors.neutral as keyof typeof colors][900] : 'white')
1616
1717
useHead({
1818
meta: [

0 commit comments

Comments
 (0)