forked from XiaoMo/ChatGPT-Next-Web
Update settings.tsx
fix: typo upater -> updater
This commit is contained in:
parent
377579e802
commit
dc3fa6c780
@ -573,9 +573,9 @@ export function Settings() {
|
|||||||
<List>
|
<List>
|
||||||
<ModelConfigList
|
<ModelConfigList
|
||||||
modelConfig={config.modelConfig}
|
modelConfig={config.modelConfig}
|
||||||
updateConfig={(upater) => {
|
updateConfig={(updater) => {
|
||||||
const modelConfig = { ...config.modelConfig };
|
const modelConfig = { ...config.modelConfig };
|
||||||
upater(modelConfig);
|
updater(modelConfig);
|
||||||
config.update((config) => (config.modelConfig = modelConfig));
|
config.update((config) => (config.modelConfig = modelConfig));
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
Loading…
Reference in New Issue
Block a user