From 23a03914083d597b339288b84930de6690c2f36b Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Tue, 5 Apr 2022 13:09:30 +0200 Subject: [PATCH] camelCase --- src/shared/components/instances.tsx | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) 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}