mirror of
https://github.com/morgan9e/chatgpt-web
synced 2026-04-14 00:14:04 +09:00
Add UI for default profile
This commit is contained in:
@@ -333,6 +333,12 @@
|
||||
globalStorage.set(store)
|
||||
}
|
||||
|
||||
|
||||
export const getGlobalSettingValue = (key:keyof GlobalSetting, value):any => {
|
||||
const store = get(globalStorage)
|
||||
return store[key]
|
||||
}
|
||||
|
||||
export const getGlobalSettings = ():GlobalSettings => {
|
||||
return get(globalStorage)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user