Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
More null checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Wliu authored and Wliu committed Nov 17, 2017
1 parent 7c4d1ea commit e733917
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/popover-component.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class PopoverComponent {
activeComponent = $(PackageInitializationErrorComponent, {
ref: 'packageInitializationErrorComponent'
})
} else if (this.props.authenticationProvider.isSignedIn()) {
} else if (this.props.authenticationProvider && this.props.authenticationProvider.isSignedIn()) {
if (!PortalListComponent) PortalListComponent = require('./portal-list-component')
activeComponent = $(PortalListComponent, {
ref: 'portalListComponent',
Expand Down

0 comments on commit e733917

Please sign in to comment.