Rename ApiKeySetup → APIKeySetup

This commit is contained in:
Danila Poyarkov 2026-03-01 11:12:37 +03:00
parent c08cbe5c0f
commit c18ced5dcf
2 changed files with 3 additions and 2 deletions

1
components.d.ts vendored
View file

@ -12,6 +12,7 @@ export {}
declare module 'vue' {
export interface GlobalComponents {
ApiKeySetup: typeof import('./src/components/chat/ApiKeySetup.vue')['default']
APIKeySetup: typeof import('./src/components/chat/APIKeySetup.vue')['default']
AppearanceSection: typeof import('./src/components/properties/AppearanceSection.vue')['default']
CanvasContextMenu: typeof import('./src/components/CanvasContextMenu.vue')['default']
ChatInput: typeof import('./src/components/chat/ChatInput.vue')['default']

View file

@ -2,7 +2,7 @@
import { ScrollAreaRoot, ScrollAreaScrollbar, ScrollAreaThumb, ScrollAreaViewport } from 'reka-ui'
import { computed, nextTick, ref, watch } from 'vue'
import ApiKeySetup from '@/components/chat/ApiKeySetup.vue'
import APIKeySetup from '@/components/chat/APIKeySetup.vue'
import ChatInput from '@/components/chat/ChatInput.vue'
import ChatMessage from '@/components/chat/ChatMessage.vue'
import { useAIChat } from '@/composables/use-chat'
@ -46,7 +46,7 @@ function handleStop() {
<template>
<div class="flex min-w-0 flex-1 flex-col overflow-hidden">
<ApiKeySetup v-if="!isConfigured" />
<APIKeySetup v-if="!isConfigured" />
<template v-else>
<ScrollAreaRoot class="min-h-0 flex-1">