import { Routes, Route, Navigate } from 'react-router-dom';
import { Home } from './pages/Home';
import { Session } from './pages/Session';

export function App() {
  return (
    <Routes>
      <Route path="/" element={<Home />} />
      <Route path="/sessions/:sessionId" element={<Session />} />
      <Route path="*" element={<Navigate to="/" replace />} />
    </Routes>
  );
}
