Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Commit

Permalink
Add missing defaultProps (#2669)
Browse files Browse the repository at this point in the history
  • Loading branch information
migbot authored and jwilander committed Apr 17, 2019
1 parent 88ac725 commit 89b9087
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions components/dot_menu/dot_menu.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ export default class DotMenu extends Component {
isReadOnly: false,
pluginMenuItems: [],
location: Locations.CENTER,
enableEmojiPicker: false,
}

constructor(props) {
Expand Down
4 changes: 4 additions & 0 deletions components/search_results_item/search_results_item.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@ export default class SearchResultsItem extends React.PureComponent {
}).isRequired,
};

static defaultProps = {
isBot: false,
};

constructor(props) {
super(props);

Expand Down

0 comments on commit 89b9087

Please sign in to comment.