zy-acs-flow/src/map/MapPage.jsx
@@ -81,7 +81,7 @@ handleResize(); window.addEventListener('resize', handleResize); notify('Welcome to Rcs', 'info'); notify.info('Welcome to Rcs'); return () => { if (websocket) { @@ -92,6 +92,11 @@ window.removeEventListener('resize', handleResize); Tool.patchRaLayout(''); }; }, []) useEffect(() => { player.setTheme(themeMode); Tool.setThemeMode(themeMode); }, [themeMode]) const switchMode = (mode) => {