diff --git a/src/components/button.jsx b/src/components/button.jsx index f83689b..0f1ccf4 100644 --- a/src/components/button.jsx +++ b/src/components/button.jsx @@ -3,18 +3,6 @@ import { Link } from "react-router-dom"; function Button(props) { return ( -
- {props.children} -
- - ); -} - -function ButtonWithAction(props) { - return ( -
+

@@ -34,10 +35,44 @@ function Note() { {note.text}

+
+
+ +
+
); } else { - return
; + return ( +
+ +
Заметки не существует.
+
+ ); } }