diff --git a/src/shared/components/instances.tsx b/src/shared/components/instances.tsx index 0a9f2c6..0cf302d 100644 --- a/src/shared/components/instances.tsx +++ b/src/shared/components/instances.tsx @@ -21,14 +21,11 @@ export class Instances extends Component { {this.header()}

- {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)} ); } @@ -44,7 +41,7 @@ export class Instances extends Component { ); } - render_list(header: string, instances: any[]) { + renderList(header: string, instances: any[]) { return (

{header}