mirror of
https://github.com/lemeow125/React-NotesApp.git
synced 2024-11-17 06:29:28 +08:00
Rename notemapper to notes for easier recognition
This commit is contained in:
parent
50781689e7
commit
fed73b1964
2 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ import Note from "../Note/Note";
|
||||||
import { Button } from "@mui/material";
|
import { Button } from "@mui/material";
|
||||||
import axios from "axios";
|
import axios from "axios";
|
||||||
|
|
||||||
export default function NoteMapper() {
|
export default function Notes() {
|
||||||
const navigate = useNavigate();
|
const navigate = useNavigate();
|
||||||
const [notes, setNotes] = useState([]);
|
const [notes, setNotes] = useState([]);
|
||||||
const [error, setError] = useState(false);
|
const [error, setError] = useState(false);
|
|
@ -1,6 +1,6 @@
|
||||||
import styles from "../../styles";
|
import styles from "../../styles";
|
||||||
import Header from "../../Components/Header/Header";
|
import Header from "../../Components/Header/Header";
|
||||||
import NoteMapper from "../../Components/NoteMapper/NoteMapper";
|
import NoteMapper from "../../Components/Notes/Notes";
|
||||||
export default function Home() {
|
export default function Home() {
|
||||||
return (
|
return (
|
||||||
<div style={styles.background}>
|
<div style={styles.background}>
|
||||||
|
|
Loading…
Reference in a new issue