]> Untitled Git - lemmy-ui.git/commitdiff
fix: Fix build error
authorJay Sitter <jay@jaysitter.com>
Sat, 17 Jun 2023 23:27:11 +0000 (19:27 -0400)
committerJay Sitter <jay@jaysitter.com>
Sat, 17 Jun 2023 23:27:11 +0000 (19:27 -0400)
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}