diff --git a/app/app.vue b/app/app.vue index 4eb5a73..5bbadc2 100644 --- a/app/app.vue +++ b/app/app.vue @@ -2,7 +2,7 @@ import '~/assets/css/reset.css'; import '~/assets/css/base.css'; -const { accent, neutral, hinting } = await useUserSettings(); +const { accent, neutral, hinting } = useUserSettings(); // by default, disable hinting if (Number.isNaN(Number(hinting.value))) hinting.value = '0'; diff --git a/app/components/Attachment/Display.vue b/app/components/Attachment/Display.vue index e493b7a..115e74d 100644 --- a/app/components/Attachment/Display.vue +++ b/app/components/Attachment/Display.vue @@ -4,7 +4,7 @@ const props = defineProps<{ id: string; name: string; mimeType: string; - status: 'pending' | 'uploaded'; + status?: 'pending' | 'uploaded'; url: string; } }>(); diff --git a/app/components/ChatInput.vue b/app/components/ChatInput.vue index f4f1437..9422ba4 100644 --- a/app/components/ChatInput.vue +++ b/app/components/ChatInput.vue @@ -93,8 +93,6 @@ const handleSubmit = () => { return; } - console.log(inputValue.value); - if (inputValue.value.content.trim() || inputValue.value.fileIds.length > 0) { emit('submit', inputValue.value, selectedModel.value); inputValue.value = { content: '', fileIds: [] }; diff --git a/app/components/Dialog/QuickSwitcher.vue b/app/components/Dialog/QuickSwitcher.vue index e9bf12e..24237ba 100644 --- a/app/components/Dialog/QuickSwitcher.vue +++ b/app/components/Dialog/QuickSwitcher.vue @@ -75,7 +75,6 @@ const handleKeyDown = (e: KeyboardEvent) => { // 60% of the window height aka 60vh const itemsPerPage = Math.floor(((window.innerHeight * 0.6) - (inputRef.value?.parentElement?.clientHeight || 0)) / 42); - console.log(itemsPerPage); switch (e.key) { case 'ArrowDown': diff --git a/app/components/Dropdown.vue b/app/components/Dropdown.vue index 3dbb6e5..520d3a0 100644 --- a/app/components/Dropdown.vue +++ b/app/components/Dropdown.vue @@ -29,10 +29,6 @@ const toggle = () => (isOpen.value = !isOpen.value); const close = () => (isOpen.value = false); defineExpose({ close }); - -onMounted(() => { - console.log(triggerRef.value); -})