Przeglądaj źródła

fix: adjust debounce wait time

GyDi 3 lat temu
rodzic
commit
5308970ad8
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/components/setting/setting-clash.tsx

+ 1 - 1
src/components/setting/setting-clash.tsx

@@ -122,7 +122,7 @@ const SettingClash = ({ onError }: Props) => {
           onFormat={(e: any) => +e.target.value?.replace(/\D+/, "")}
           onChange={(e) => onChangeData({ "mixed-port": e })}
           onGuard={onUpdatePort}
-          waitTime={800}
+          waitTime={1000}
         >
           <TextField autoComplete="off" size="small" sx={{ width: 120 }} />
         </GuardState>