fix: do not persist active chat id (#927)
parent
a4b1d75c1a
commit
8d3be2ea36
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue