diff --git a/ui/src/views/chat/embed/component/ChatHistoryDrawer.vue b/ui/src/views/chat/embed/component/ChatHistoryDrawer.vue index 180d21da8..1d5145944 100644 --- a/ui/src/views/chat/embed/component/ChatHistoryDrawer.vue +++ b/ui/src/views/chat/embed/component/ChatHistoryDrawer.vue @@ -111,7 +111,7 @@ const props = defineProps<{ const emit = defineEmits(['newChat', 'clickLog', 'deleteLog', 'refreshFieldTitle', 'clearChat']) -const { chatUser, chatLog } = useStore() +const { chatUser } = useStore() const clearChat = () => { emit('clearChat') diff --git a/ui/src/views/chat/mobile/component/ChatHistoryDrawer.vue b/ui/src/views/chat/mobile/component/ChatHistoryDrawer.vue index 466167e5c..a1d640812 100644 --- a/ui/src/views/chat/mobile/component/ChatHistoryDrawer.vue +++ b/ui/src/views/chat/mobile/component/ChatHistoryDrawer.vue @@ -54,7 +54,7 @@ const props = defineProps<{ const emit = defineEmits(['newChat', 'clickLog', 'deleteLog', 'refreshFieldTitle', 'clearChat']) -const { chatUser, chatLog } = useStore() +const { chatUser } = useStore() const clearChat = () => { emit('clearChat')