Browse Source

Update settings.tsx

fix: typo upater -> updater
PaRaD1SE98 1 year ago
parent
commit
dc3fa6c780
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/components/settings.tsx

+ 2 - 2
app/components/settings.tsx

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