Rename notemapper to notes for easier recognition

This commit is contained in:
keannu125 2023-02-25 20:39:01 +08:00
parent 50781689e7
commit fed73b1964
2 changed files with 2 additions and 2 deletions

View file

@ -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);

View file

@ -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 (
<div style={styles.background}>