aboutsummaryrefslogtreecommitdiff
path: root/client/src/pages/Home/Home.jsx
blob: 4a6e0df301f3fd2edaef79a5c8fca654ad27810a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import { Routes, Route } from "react-router-dom";
import styles from "./Home.module.css";
import Editor from "../../components/Editor/Editor";

const Home = () => {
  return (
    <div className={styles.home}>
      <Routes>
        <Route path="/" element={<Editor />} />
        <Route path="/:id" element={<Editor />} />
        <Route path="/r/:id" element={<Editor />} />
      </Routes>
    </div>
  );
};

export default Home;