From 2e13df0955b94d7632af575cf85ce74133979f67 Mon Sep 17 00:00:00 2001 From: Keane Chan Date: Wed, 26 Oct 2022 17:16:03 +0800 Subject: [PATCH] [resumes][feat] change to mostComments --- apps/portal/src/pages/resumes/browse.tsx | 2 +- apps/portal/src/utils/resumes/resumeFilters.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/portal/src/pages/resumes/browse.tsx b/apps/portal/src/pages/resumes/browse.tsx index f4ed682e..72c248a2 100644 --- a/apps/portal/src/pages/resumes/browse.tsx +++ b/apps/portal/src/pages/resumes/browse.tsx @@ -517,7 +517,7 @@ export default function ResumeHomePage() {
-
+
& Record>; -export type SortOrder = 'latest' | 'popular' | 'topComments'; +export type SortOrder = 'latest' | 'mostComments' | 'popular'; export type Shortcut = { customFilters?: CustomFilter; @@ -63,7 +63,7 @@ export const BROWSE_TABS_VALUES = { export const SORT_OPTIONS: Array> = [ { label: 'Latest', value: 'latest' }, { label: 'Popular', value: 'popular' }, - { label: 'Top Comments', value: 'topComments' }, + { label: 'Most Comments', value: 'mostComments' }, ]; export const ROLES: Array> = [