diff --git a/public/vite.svg b/public/vite.svg new file mode 100644 index 0000000..45ac612 --- /dev/null +++ b/public/vite.svg @@ -0,0 +1 @@ + diff --git a/src/components/NoteAddButton/NoteAddButton.jsx b/src/components/NoteAddButton/NoteAddButton.jsx index 8169ac9..0b6764e 100644 --- a/src/components/NoteAddButton/NoteAddButton.jsx +++ b/src/components/NoteAddButton/NoteAddButton.jsx @@ -1,11 +1,14 @@ import NoteButton from '../NoteButton/NoteButton'; import './NoteAddButton.scss'; -function NoteAddButton({clearForm}) { +function NoteAddButton({ clearForm }) { + + const baseUrl = import.meta.env.BASE_URL; + return ( - + New memory diff --git a/src/components/NoteForm/NoteForm.jsx b/src/components/NoteForm/NoteForm.jsx index c6eec8b..f4adab2 100644 --- a/src/components/NoteForm/NoteForm.jsx +++ b/src/components/NoteForm/NoteForm.jsx @@ -86,7 +86,7 @@ function NoteForm({ callback, data, setCurrentItem, delItem }) { } }; - + const baseUrl = import.meta.env.BASE_URL; return (
@@ -124,7 +124,7 @@ function NoteForm({ callback, data, setCurrentItem, delItem }) {
- +

Tags