blob: 9886c66bb3dd7e209c74f3092494839d184b5527 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
import { Routes, Route } from "react-router-dom";
import styles from "./Home.module.css";
import Header from "../../components/Header/Header";
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;
|