From 8456de671bece0d1133438c1170e25bf80581e34 Mon Sep 17 00:00:00 2001 From: kac- Date: Wed, 1 Jun 2022 09:09:48 +0200 Subject: [PATCH] Fix NPE during new site startup --- src/shared/components/home/home.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/components/home/home.tsx b/src/shared/components/home/home.tsx index f52efec2a..6a9365c45 100644 --- a/src/shared/components/home/home.tsx +++ b/src/shared/components/home/home.tsx @@ -113,7 +113,7 @@ export class Home extends Component { 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),