mirror of
https://github.com/LemmyNet/joinlemmy-site.git
synced 2024-11-25 05:41:16 +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()}
|
||||
<br />
|
||||
<br />
|
||||
{this.render_list(
|
||||
{this.renderList(
|
||||
i18n.t("recommended_instances"),
|
||||
instance_stats.recommended
|
||||
)}
|
||||
{this.render_list(
|
||||
i18n.t("popular_instances"),
|
||||
instance_stats.remaining
|
||||
)}
|
||||
{this.renderList(i18n.t("popular_instances"), instance_stats.remaining)}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
@ -44,7 +41,7 @@ export class Instances extends Component<any, any> {
|
|||
);
|
||||
}
|
||||
|
||||
render_list(header: string, instances: any[]) {
|
||||
renderList(header: string, instances: any[]) {
|
||||
return (
|
||||
<div>
|
||||
<h2>{header}</h2>
|
||||
|
|
Loading…
Reference in a new issue