chore: adjust type
This commit is contained in:
@@ -89,7 +89,7 @@ const SysproxyViewer = ({ handler }: Props) => {
|
||||
return;
|
||||
}
|
||||
|
||||
const patch: Partial<CmdType.VergeConfig> = {};
|
||||
const patch: Partial<IVergeConfig> = {};
|
||||
|
||||
if (value.guard !== enable_proxy_guard) {
|
||||
patch.enable_proxy_guard = value.guard;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { Button, ButtonGroup } from "@mui/material";
|
||||
|
||||
type ThemeValue = CmdType.VergeConfig["theme_mode"];
|
||||
type ThemeValue = IVergeConfig["theme_mode"];
|
||||
|
||||
interface Props {
|
||||
value?: ThemeValue;
|
||||
|
||||
Reference in New Issue
Block a user