import { Navigate, Route, Routes } from 'react-router-dom';
import { RetrospectiveSlides } from './views/components/retrospective-slides';

export function App() {
  return (
    <Routes>
      <Route path="/:token" element={<RetrospectiveSlides />} />
      <Route path="*" element={<Navigate to="/" replace />} />
    </Routes>
  );
}

export default App;
