Skip to content

Commit

Permalink
Fix NPE during new site startup
Browse files Browse the repository at this point in the history
  • Loading branch information
kac- authored and Nutomic committed Jun 2, 2022
1 parent 3e7579b commit 8456de6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/components/home/home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export class Home extends Component<any, HomeState> {
listingType: getListingTypeFromProps(
this.props,
ListingType[
this.isoData.site_res.site_view.site.default_post_listing_type
this.isoData.site_res.site_view?.site.default_post_listing_type
]
),
dataType: getDataTypeFromProps(this.props),
Expand Down

0 comments on commit 8456de6

Please sign in to comment.