fix: remove unused chatLog variable from ChatHistoryDrawer.vue
This commit is contained in:
parent
86ad2c54c6
commit
52a98ae9b5
@ -111,7 +111,7 @@ const props = defineProps<{
|
|||||||
|
|
||||||
const emit = defineEmits(['newChat', 'clickLog', 'deleteLog', 'refreshFieldTitle', 'clearChat'])
|
const emit = defineEmits(['newChat', 'clickLog', 'deleteLog', 'refreshFieldTitle', 'clearChat'])
|
||||||
|
|
||||||
const { chatUser, chatLog } = useStore()
|
const { chatUser } = useStore()
|
||||||
|
|
||||||
const clearChat = () => {
|
const clearChat = () => {
|
||||||
emit('clearChat')
|
emit('clearChat')
|
||||||
|
|||||||
@ -54,7 +54,7 @@ const props = defineProps<{
|
|||||||
|
|
||||||
const emit = defineEmits(['newChat', 'clickLog', 'deleteLog', 'refreshFieldTitle', 'clearChat'])
|
const emit = defineEmits(['newChat', 'clickLog', 'deleteLog', 'refreshFieldTitle', 'clearChat'])
|
||||||
|
|
||||||
const { chatUser, chatLog } = useStore()
|
const { chatUser } = useStore()
|
||||||
|
|
||||||
const clearChat = () => {
|
const clearChat = () => {
|
||||||
emit('clearChat')
|
emit('clearChat')
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user