mirror of
				https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
				synced 2025-11-04 08:13:43 +08:00 
			
		
		
		
	Update settings.tsx
fix: typo upater -> updater
This commit is contained in:
		@@ -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));
 | 
			
		||||
            }}
 | 
			
		||||
          />
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user