forked from XiaoMo/ChatGPT-Next-Web
Merge pull request #1452 from PaRaD1SE98/main
fix: typo upater -> updater
This commit is contained in:
commit
d9be63e6cb
@ -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