Merge pull request #1452 from PaRaD1SE98/main

fix: typo upater -> updater
This commit is contained in:
Yifei Zhang 2023-05-13 14:52:12 +08:00 committed by GitHub
commit d9be63e6cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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));
}} }}
/> />