]> Untitled Git - lemmy-ui.git/blobdiff - src/shared/components/home/home.tsx
fix: Fix build error
[lemmy-ui.git] / src / shared / components / home / home.tsx
index c7fccb8efa9328b47929176ca8f60be03e4f2a12..4f9b9694cf501d857fdb6ba978d174294d6d7f1c 100644 (file)
@@ -448,7 +448,7 @@ export class Home extends Component<any, HomeState> {
           )}
           {showTrendingMobile && (
             <div className="card border-secondary mb-3">
-              {this.trendingCommunities}
+              {this.trendingCommunities()}
             </div>
           )}
           {showSubscribedMobile && (
@@ -472,7 +472,7 @@ export class Home extends Component<any, HomeState> {
     return (
       <div id="sidebarContainer">
         <section id="sidebarMain" className="card border-secondary mb-3">
-          {this.trendingCommunities}
+          {this.trendingCommunities()}
         </section>
         <SiteSidebar
           site={site}