Change the api key to local storage
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
|
||||
export const useModels = () => useState('models', () => getStoredModels())
|
||||
export const useCurrentModel = () => useState('currentModel', () => getCurrentModel())
|
||||
|
||||
export const useCurrentModel = () => useState('currentModel', () => getCurrentModel())
|
||||
|
||||
export const useApiKey = () => useState('apiKey', () => getStoredApiKey())
|
||||
Reference in New Issue
Block a user