mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-29 08:45:41 +08:00
Revert "feat: front-end use RunningMode enum instead of string literals"
This reverts commit 7280635741.
This commit is contained in:
@@ -58,7 +58,7 @@ const SettingSystem = ({ onError }: Props) => {
|
||||
}, [autoLaunchEnabled]);
|
||||
|
||||
// 是否以sidecar模式运行
|
||||
const isSidecarMode = runningMode === RunningMode.Sidecar;
|
||||
const isSidecarMode = runningMode === "Sidecar";
|
||||
|
||||
const sysproxyRef = useRef<DialogRef>(null);
|
||||
const tunRef = useRef<DialogRef>(null);
|
||||
|
||||
Reference in New Issue
Block a user