blob: 32bb815a8183003e63858d184f9089f94cdb8bfc (
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}>
<Header />
<Routes>
<Route path="/" element={<Editor />} />
<Route path="/:id" element={<Editor />} />
</Routes>
</div>
);
};
export default Home;
|