camelCase

This commit is contained in:
Felix Ableitner 2022-04-05 13:09:30 +02:00
parent f03c0bd6a9
commit 23a0391408

View file

@ -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>