blob: 21cbdb02139f5f69ad4134c0eff641f121c56a99 (
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 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 />} />
</Routes>
</div>
);
};
export default Home;
|