Skip to content

Commit 841ade4

Browse files
committed
fix: update slash-commands page to avoid import issues
1 parent d6c8a22 commit 841ade4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/runtime/client/pages/slash-commands.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import type { WatchEvent } from 'nuxt/schema'
33
import type { SlashCommand, SlashCommandOption } from '../../../types'
44
import { computed, ref, useFetch, useRuntimeConfig, watchEffect } from '#imports'
55
import { useWebSocket } from '@vueuse/core'
6-
import slashCommands from 'discord/slashCommands'
76
import TheHeader from '../components/TheHeader.vue'
87
import '../style.css'
98
import './slash-commands.css'
@@ -82,7 +81,7 @@ function getRemoteId(command: any): string | undefined {
8281
return undefined
8382
}
8483
85-
const commands = ref(slashCommands)
84+
const commands = ref([] as typeof import('discord/slashCommands').default)
8685
8786
const {
8887
data: diff,

0 commit comments

Comments
 (0)