This commit is contained in:
Rafi
2023-03-30 18:12:55 +08:00
parent 1082da050b
commit 97649e4bee
5 changed files with 300 additions and 274 deletions

View File

@@ -5,8 +5,8 @@ export const useCurrentModel = () => useState('currentModel', () => getCurrentMo
export const useApiKey = () => useState('apiKey', () => getStoredApiKey())
export const useConversion = () => useState('conversion', () => getDefaultConversionData())
export const useConversation = () => useState('conversation', () => getDefaultConversationData())
export const useConversions = () => useState('conversions', () => [])
export const useConversations = () => useState('conversations', () => [])
export const useSettings = () => useState('settings', () => {})