diff --git a/src/Components/Note/Header/Header.tsx b/src/Components/Header/Header.tsx similarity index 79% rename from src/Components/Note/Header/Header.tsx rename to src/Components/Header/Header.tsx index 84ded06..3e86d14 100644 --- a/src/Components/Note/Header/Header.tsx +++ b/src/Components/Header/Header.tsx @@ -1,6 +1,6 @@ import * as React from "react"; -import styles from "../../../styles"; +import styles from "../../styles"; export default function Header() { return ( diff --git a/src/Components/Note/NoteMapper/NoteMapper.tsx b/src/Components/NoteMapper/NoteMapper.tsx similarity index 92% rename from src/Components/Note/NoteMapper/NoteMapper.tsx rename to src/Components/NoteMapper/NoteMapper.tsx index 5a40a33..6ce0630 100644 --- a/src/Components/Note/NoteMapper/NoteMapper.tsx +++ b/src/Components/NoteMapper/NoteMapper.tsx @@ -1,8 +1,8 @@ import * as React from "react"; -import styles from "../../../styles"; +import styles from "../../styles"; import { useEffect, useState } from "react"; import { useNavigate } from "react-router-dom"; -import Note from "../Note"; +import Note from "../Note/Note"; import { Button } from "@mui/material"; import axios from "axios"; diff --git a/src/Routes/Home/Home.tsx b/src/Routes/Home/Home.tsx index 4ffa7a3..2866445 100644 --- a/src/Routes/Home/Home.tsx +++ b/src/Routes/Home/Home.tsx @@ -2,10 +2,9 @@ import styles from "../../styles"; import { Button } from "@mui/material"; import Note from "../../Components/Note/Note"; -import Header from "../../Components/Note/Header/Header"; +import Header from "../../Components/Header/Header"; import { useEffect, useState } from "react"; -import NoteMapper from "../../Components/Note/NoteMapper/NoteMapper"; - +import NoteMapper from "../../Components/NoteMapper/NoteMapper"; export default function Home() { const [notes, setNotes] = useState(); const notes_sample = [ diff --git a/src/Routes/NewNote/NewNote.tsx b/src/Routes/NewNote/NewNote.tsx index fff89df..87fda25 100644 --- a/src/Routes/NewNote/NewNote.tsx +++ b/src/Routes/NewNote/NewNote.tsx @@ -2,7 +2,7 @@ import styles from "../../styles"; import { Button } from "@mui/material"; import { useNavigate } from "react-router-dom"; import { useState } from "react"; -import Header from "../../Components/Note/Header/Header"; +import Header from "../../Components/Header/Header"; import axios from "axios"; import { title } from "process";