mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-22 12:21:13 +00:00
Fix NPE during new site startup (#677)
This commit is contained in:
parent
3e7579b8bb
commit
d41e19f3f1
1 changed files with 1 additions and 1 deletions
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue