fix: remove zustand and use input and setInput
This commit is contained in:
parent
6f69b878d5
commit
f476c903ef
8 changed files with 83 additions and 95 deletions
|
|
@ -1,11 +0,0 @@
|
|||
import { create } from 'zustand'
|
||||
|
||||
interface UseChatStore {
|
||||
defaultMessage: string
|
||||
setDefaultMessage: (message: string) => void
|
||||
}
|
||||
|
||||
export const useChatStore = create<UseChatStore>()(set => ({
|
||||
defaultMessage: '',
|
||||
setDefaultMessage: message => set({ defaultMessage: message })
|
||||
}))
|
||||
Loading…
Add table
Add a link
Reference in a new issue