diff --git a/client/src/App.jsx b/client/src/App.jsx index 40a4c19..c6ed2fb 100644 --- a/client/src/App.jsx +++ b/client/src/App.jsx @@ -12,7 +12,6 @@ import './App.css'; function App() { const connect = useTurtleStore((state) => state.connect); - const [view, setView] = useState('split'); // 'split', 'map', 'panel' const [panelTab, setPanelTab] = useState('control'); // 'control', 'voice', 'stats', 'groups', 'tasks', 'paths', 'areas' const turtles = useTurtleStore((state) => state.getTurtleArray()); const selectedTurtle = useTurtleStore((state) => state.getSelectedTurtle()); @@ -47,35 +46,11 @@ function App() { return (
-
- - - -
- -
- {(view === 'split' || view === 'map') && ( -
- -
- )} - {(view === 'split' || view === 'panel') && ( -
+
+
+ +
+
- )}
);