Skip to content

Commit

Permalink
Use undefined as default prop for onClick (MetaMask#9654)
Browse files Browse the repository at this point in the history
  • Loading branch information
rickycodes authored Oct 21, 2020
1 parent 2c9a082 commit 5118717
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default class ConnectedStatusIndicator extends Component {

static defaultProps = {
status: STATUS_NOT_CONNECTED,
onClick: null,
onClick: undefined,
}

renderStatusCircle = () => {
Expand Down

0 comments on commit 5118717

Please sign in to comment.