mirror of
https://github.com/LemmyNet/joinlemmy-site.git
synced 2024-11-25 13:51:17 +00:00
camelCase
This commit is contained in:
parent
f03c0bd6a9
commit
23a0391408
1 changed files with 3 additions and 6 deletions
|
@ -21,14 +21,11 @@ export class Instances extends Component<any, any> {
|
||||||
{this.header()}
|
{this.header()}
|
||||||
<br />
|
<br />
|
||||||
<br />
|
<br />
|
||||||
{this.render_list(
|
{this.renderList(
|
||||||
i18n.t("recommended_instances"),
|
i18n.t("recommended_instances"),
|
||||||
instance_stats.recommended
|
instance_stats.recommended
|
||||||
)}
|
)}
|
||||||
{this.render_list(
|
{this.renderList(i18n.t("popular_instances"), instance_stats.remaining)}
|
||||||
i18n.t("popular_instances"),
|
|
||||||
instance_stats.remaining
|
|
||||||
)}
|
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -44,7 +41,7 @@ export class Instances extends Component<any, any> {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
render_list(header: string, instances: any[]) {
|
renderList(header: string, instances: any[]) {
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<h2>{header}</h2>
|
<h2>{header}</h2>
|
||||||
|
|
Loading…
Reference in a new issue