import React from "react";
import { BrowserRouter as Router, Routes, Route } from "react-router-dom";
import UserPage from "./components/UserPage/UserPage";

const App: React.FC = () => {
  return (
    <Router>
      <Routes>
        <Route path="/users/:id" element={<UserPage />} />
      </Routes>
    </Router>
  );
};

export default App;