// src/App.jsx import { useEffect, useState } from 'react'; import './App.css'; import SectionGrid from './components/SectionGrid'; import AddAppModal from './components/AddAppModal'; import Clock from './components/Clock'; function App() { const [sections, setSections] = useState([]); const fetchSections = () => { fetch('/apps') .then(res => res.json()) .then(data => setSections(data.sections || [])); }; useEffect(() => { fetchSections(); }, []); return (

Navix logo Navix

window.location.reload()} /> {sections.map((section) => ( ))}
); } export default App;