diff --git a/src/Components/NoteMapper/NoteMapper.tsx b/src/Components/Notes/Notes.tsx similarity index 94% rename from src/Components/NoteMapper/NoteMapper.tsx rename to src/Components/Notes/Notes.tsx index 5334f63..6906e75 100644 --- a/src/Components/NoteMapper/NoteMapper.tsx +++ b/src/Components/Notes/Notes.tsx @@ -6,7 +6,7 @@ import Note from "../Note/Note"; import { Button } from "@mui/material"; import axios from "axios"; -export default function NoteMapper() { +export default function Notes() { const navigate = useNavigate(); const [notes, setNotes] = useState([]); const [error, setError] = useState(false); diff --git a/src/Routes/Home/Home.tsx b/src/Routes/Home/Home.tsx index b60e7ed..a967ab8 100644 --- a/src/Routes/Home/Home.tsx +++ b/src/Routes/Home/Home.tsx @@ -1,6 +1,6 @@ import styles from "../../styles"; import Header from "../../Components/Header/Header"; -import NoteMapper from "../../Components/NoteMapper/NoteMapper"; +import NoteMapper from "../../Components/Notes/Notes"; export default function Home() { return (