import { Route, Routes } from "react-router-dom";
import TopPage from "./pages/topPage";
import DeletePage from "./pages/deletePage";

const AppRouter: React.FC = () => (
  <Routes>
    <Route path="/" element={<TopPage />} />
    <Route path="/delete" element={<DeletePage />} />
  </Routes>
);

export default AppRouter;
