diff --git a/README.md b/README.md index 63a03e8..3ebb73d 100644 --- a/README.md +++ b/README.md @@ -408,7 +408,7 @@ Within each sprint, a MoSCoW method is used to further prioritize user stories. * [ ] Design and implement footer (Could do) * [ ] [USER STORY: Update profile](https://github.com/SandraBergstrom/travel-tickr/issues/13) (Must do) * [x] [USER STORY: View a post](https://github.com/SandraBergstrom/travel-tickr/issues/15) (Must do) -* [ ] [USER STORY: Update a post](https://github.com/SandraBergstrom/travel-tickr/issues/16) (Must do) +* [x] [USER STORY: Update a post](https://github.com/SandraBergstrom/travel-tickr/issues/16) (Must do) * [ ] [USER STORY: Delete a post](https://github.com/SandraBergstrom/travel-tickr/issues/17) (Must do) * [x] [USER STORY: Search Posts](https://github.com/SandraBergstrom/travel-tickr/issues/18) (Must do) diff --git a/src/components/MoreDropdown.js b/src/components/MoreDropdown.js index d4abdb8..245ca28 100644 --- a/src/components/MoreDropdown.js +++ b/src/components/MoreDropdown.js @@ -1,6 +1,8 @@ import React from "react"; import Dropdown from "react-bootstrap/Dropdown"; import styles from "../styles/MoreDropdown.module.css" +import OverlayTrigger from "react-bootstrap/OverlayTrigger"; +import Tooltip from "react-bootstrap/Tooltip"; // The forwardRef is important!! // Dropdown needs access to the DOM node in order to position the Menu @@ -36,7 +38,12 @@ const ThreeDots = React.forwardRef(({ onClick }, ref) => ( onClick={handleDelete} aria-label="delete" > + Are you sure you want to delete your post?!} + > +