Update settings.tsx

fix: typo upater -> updater
This commit is contained in:
PaRaD1SE98 2023-05-12 22:46:22 +09:00 committed by GitHub
parent 377579e802
commit dc3fa6c780
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -573,9 +573,9 @@ export function Settings() {
<List>
<ModelConfigList
modelConfig={config.modelConfig}
updateConfig={(upater) => {
updateConfig={(updater) => {
const modelConfig = { ...config.modelConfig };
upater(modelConfig);
updater(modelConfig);
config.update((config) => (config.modelConfig = modelConfig));
}}
/>