Skip to content

Commit

Permalink
chore: Remove defaultProps in Pages and Navbar compoments
Browse files Browse the repository at this point in the history
  • Loading branch information
m453h committed Nov 1, 2024
1 parent 5a48635 commit de4677d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
4 changes: 0 additions & 4 deletions apps/civicsignalblog/src/components/NavBar/NavBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,4 @@ NavBar.propTypes = {
),
};

NavBar.defaultProps = {
menus: undefined,
};

export default NavBar;
8 changes: 0 additions & 8 deletions apps/civicsignalblog/src/components/Page/Page.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,4 @@ Page.propTypes = {
title: PropTypes.string,
};

Page.defaultProps = {
children: undefined,
navbar: undefined,
blocks: undefined,
footer: undefined,
title: undefined,
};

export default Page;

0 comments on commit de4677d

Please sign in to comment.