From ffaa3c4fc5eb1230a559a60b3acbbe575d013583 Mon Sep 17 00:00:00 2001 From: Jay Sitter Date: Sat, 17 Jun 2023 19:16:24 -0400 Subject: [PATCH] fix: Remove unused var --- src/shared/components/home/home.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/shared/components/home/home.tsx b/src/shared/components/home/home.tsx index 483d8ccb..c7fccb8e 100644 --- a/src/shared/components/home/home.tsx +++ b/src/shared/components/home/home.tsx @@ -448,7 +448,7 @@ export class Home extends Component { )} {showTrendingMobile && (
- {this.trendingCommunities(true)} + {this.trendingCommunities}
)} {showSubscribedMobile && ( @@ -472,7 +472,7 @@ export class Home extends Component { return (
- {this.trendingCommunities()} + {this.trendingCommunities}
{ ); } - trendingCommunities(isMobile = false) { + trendingCommunities() { switch (this.state.trendingCommunitiesRes?.state) { case "loading": return (