refactor/channel & ipc (#349)

Co-authored-by: paisley <8197966+su8su@users.noreply.github.com>
Co-authored-by: zuolingxuan <zuolingxuan@bytedance.com>
This commit is contained in:
Lingxuan Zuo
2026-03-09 19:04:00 +08:00
committed by GitHub
Unverified
parent 8b45960662
commit e28eba01e1
47 changed files with 4160 additions and 543 deletions

View File

@@ -91,7 +91,6 @@ function App() {
const initSettings = useSettingsStore((state) => state.init);
const theme = useSettingsStore((state) => state.theme);
const language = useSettingsStore((state) => state.language);
const gatewayTransportPreference = useSettingsStore((state) => state.gatewayTransportPreference);
const setupComplete = useSettingsStore((state) => state.setupComplete);
const initGateway = useGatewayStore((state) => state.init);
@@ -152,8 +151,8 @@ function App() {
}, [theme]);
useEffect(() => {
applyGatewayTransportPreference(gatewayTransportPreference);
}, [gatewayTransportPreference]);
applyGatewayTransportPreference();
}, []);
return (
<ErrorBoundary>