Skip to content

Commit

Permalink
chore: removed unecessary props
Browse files Browse the repository at this point in the history
  • Loading branch information
zstix committed Apr 23, 2020
1 parent 4fcb34f commit 1e69547
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/components/HamburgerMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import cx from 'classnames';

import './HamburgerMenu.scss';

const HamburgerMenu = ({ onClick, open }) => (
const HamburgerMenu = ({ open }) => (
<button
aria-expanded={open}
aria-label="Mobile Menu"
Expand All @@ -19,11 +19,10 @@ const HamburgerMenu = ({ onClick, open }) => (
);

HamburgerMenu.propTypes = {
onClick: PropTypes.func.isRequired,
open: PropTypes.bool,
};

Header.defaultProps = {
HamburgerMenu.defaultProps = {
open: false,
};

Expand Down

0 comments on commit 1e69547

Please sign in to comment.