From daaf96966244dd0fcf55d3748f52da2b54b8bc2c Mon Sep 17 00:00:00 2001 From: MayaTheShy Date: Fri, 20 Feb 2026 03:05:22 -0500 Subject: [PATCH] style: Remove view controls for improved layout consistency and simplify app structure --- client/src/App.jsx | 36 +++++------------------------------- 1 file changed, 5 insertions(+), 31 deletions(-) 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') && ( -
+
+
+ +
+
- )}
);