mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-23 04:41:14 +00:00
fix: Remove unused var
This commit is contained in:
parent
0d35d9a8d2
commit
ffaa3c4fc5
1 changed files with 3 additions and 3 deletions
|
@ -448,7 +448,7 @@ export class Home extends Component<any, HomeState> {
|
||||||
)}
|
)}
|
||||||
{showTrendingMobile && (
|
{showTrendingMobile && (
|
||||||
<div className="card border-secondary mb-3">
|
<div className="card border-secondary mb-3">
|
||||||
{this.trendingCommunities(true)}
|
{this.trendingCommunities}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
{showSubscribedMobile && (
|
{showSubscribedMobile && (
|
||||||
|
@ -472,7 +472,7 @@ export class Home extends Component<any, HomeState> {
|
||||||
return (
|
return (
|
||||||
<div id="sidebarContainer">
|
<div id="sidebarContainer">
|
||||||
<section id="sidebarMain" className="card border-secondary mb-3">
|
<section id="sidebarMain" className="card border-secondary mb-3">
|
||||||
{this.trendingCommunities()}
|
{this.trendingCommunities}
|
||||||
</section>
|
</section>
|
||||||
<SiteSidebar
|
<SiteSidebar
|
||||||
site={site}
|
site={site}
|
||||||
|
@ -494,7 +494,7 @@ export class Home extends Component<any, HomeState> {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
trendingCommunities(isMobile = false) {
|
trendingCommunities() {
|
||||||
switch (this.state.trendingCommunitiesRes?.state) {
|
switch (this.state.trendingCommunitiesRes?.state) {
|
||||||
case "loading":
|
case "loading":
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Reference in a new issue