Skip to content

Commit

Permalink
fix: do not persist active chat id (#927)
Browse files Browse the repository at this point in the history
  • Loading branch information
wsxiaoys authored Dec 1, 2023
1 parent a4b1d75 commit 8d3be2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ee/tabby-ui/lib/stores/chat-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { create } from 'zustand'
import { persist } from 'zustand/middleware'
import { nanoid } from '@/lib/utils'

const excludeFromState = ['_hasHydrated', 'setHasHydrated']
const excludeFromState = ['_hasHydrated', 'setHasHydrated', "activeChatId"]

export interface ChatState {
chats: Chat[] | undefined
Expand Down

0 comments on commit 8d3be2e

Please sign in to comment.