diff --git a/src/App.tsx b/src/App.tsx
index e3524f25..2ef77bb4 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -1,5 +1,4 @@
import { AppDataProvider } from "./providers/app-data-provider";
-import React from "react";
import Layout from "./pages/_layout";
function App() {
@@ -10,4 +9,4 @@ function App() {
);
}
-export default App;
\ No newline at end of file
+export default App;
diff --git a/src/components/setting/setting-system.tsx b/src/components/setting/setting-system.tsx
index fe60ac57..67ae3cdb 100644
--- a/src/components/setting/setting-system.tsx
+++ b/src/components/setting/setting-system.tsx
@@ -39,11 +39,6 @@ const SettingSystem = ({ onError }: Props) => {
const { data: sysproxy } = useSWR("getSystemProxy", getSystemProxy);
const { data: autoproxy } = useSWR("getAutotemProxy", getAutotemProxy);
- const { data: autoLaunchEnabled } = useSWR(
- "getAutoLaunchStatus",
- getAutoLaunchStatus,
- { revalidateOnFocus: false },
- );
const { isAdminMode, isSidecarMode, mutateRunningMode, isServiceOk } =
useSystemState();
@@ -148,7 +143,7 @@ const SettingSystem = ({ onError }: Props) => {
return patchVerge({ enable_tun_mode: e });
}}
>
-
+