]> Untitled Git - lemmy-ui.git/commitdiff
Trying out fixing a null site issue.
authorDessalines <tyhou13@gmx.com>
Tue, 15 Sep 2020 15:53:48 +0000 (10:53 -0500)
committerDessalines <tyhou13@gmx.com>
Tue, 15 Sep 2020 15:53:48 +0000 (10:53 -0500)
src/shared/components/app.tsx

index c49f74a9547669f77436fc7676683b5c902e8dad..9d72b0166bcf1197e54c694d71e08559684579cc 100644 (file)
@@ -24,7 +24,7 @@ export class App extends Component<AppProps, any> {
       <>
         <Provider i18next={i18n}>
           <div>
-            {this.props.site.site.icon && (
+            {this.props.site && this.props.site.site.icon && (
               <Helmet>
                 <link
                   id="favicon"