Skip to content

Commit

Permalink
refactor: MenuDropDown component usage
Browse files Browse the repository at this point in the history
  • Loading branch information
werlleyg committed Oct 9, 2023
1 parent 71d6806 commit feb683b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions website/components/menubar.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const MenuBar = props => {
>
Documentation
</Button>
{MenuDropDown(dropDownData)}
<MenuDropDown {...dropDownData} />
<Button
href="https://draftjs.slack.com/messages/megadraft/"
target="_blank"
Expand Down Expand Up @@ -120,7 +120,7 @@ const MenuBar = props => {
>
Documentation
</Button>
{MenuDropDown(dropDownData)}
<MenuDropDown {...dropDownData} />
<Button
href="https://draftjs.slack.com/messages/megadraft/"
target="_blank"
Expand Down Expand Up @@ -148,7 +148,6 @@ const MenuBar = props => {

const MenuDropDown = props => {
const { documentationMenu, handleRequestClose, showMenuDropdown } = props;

return (
<Menu
id="simple-menu"
Expand Down

0 comments on commit feb683b

Please sign in to comment.