gearheads
/
mastodon
Archived
2
0
Fork 0

Do not require onClose property in NavigationBar (#5802)

NavigationBar can be used as mock as it is in OnboardingModal. In such a
case, onClose property is not required.
gh/stable
Akihiko Odaki 2017-11-24 21:13:17 +09:00 committed by Eugen Rochko
parent e84fecb7e9
commit 5a551b530a
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ export default class NavigationBar extends ImmutablePureComponent {
static propTypes = {
account: ImmutablePropTypes.map.isRequired,
onClose: PropTypes.func.isRequired,
onClose: PropTypes.func,
};
render () {