feat: use enhanced guard-state

This commit is contained in:
GyDi committed 2022-02-25 01:22:33 +08:00
1 parent 678fcfc3a3
commit 961ed728a1
2 files changed
+21 -30

No files matched your search

@@ -91,6 +91,7 @@ const SettingSystem = ({ onError }: Props) => {
onFormat={(e: any) => e.target.value}
onChange={(e) => onChangeData({ system_proxy_bypass: e })}
onGuard={(e) => patchVergeConfig({ system_proxy_bypass: e })}
waitTime={1000}
>
<TextField autoComplete="off" size="small" sx={{ width: 120 }} />
</GuardState>