From: Dessalines Date: Tue, 15 Sep 2020 15:53:48 +0000 (-0500) Subject: Trying out fixing a null site issue. X-Git-Url: http://these/git/%7B%60/feeds/front/static/%7BpictrsAvatarThumbnail%28this.state.siteRes.site.icon%29%7D?a=commitdiff_plain;h=6016e1b2cc70b381873db8c13958ed8a001740fc;p=lemmy-ui.git Trying out fixing a null site issue. --- diff --git a/src/shared/components/app.tsx b/src/shared/components/app.tsx index c49f74a..9d72b01 100644 --- a/src/shared/components/app.tsx +++ b/src/shared/components/app.tsx @@ -24,7 +24,7 @@ export class App extends Component { <>
- {this.props.site.site.icon && ( + {this.props.site && this.props.site.site.icon && (