From 7f28f87f5cc23c856a52457567f145cf65b6b8f5 Mon Sep 17 00:00:00 2001 From: Shekar Siri Date: Thu, 31 Oct 2024 17:04:12 +0100 Subject: [PATCH] fix(ui): sort active item --- .../components/SessionSort/SessionSort.tsx | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/frontend/app/components/shared/SessionsTabOverview/components/SessionSort/SessionSort.tsx b/frontend/app/components/shared/SessionsTabOverview/components/SessionSort/SessionSort.tsx index a5df41061..568c2f461 100644 --- a/frontend/app/components/shared/SessionsTabOverview/components/SessionSort/SessionSort.tsx +++ b/frontend/app/components/shared/SessionsTabOverview/components/SessionSort/SessionSort.tsx @@ -12,7 +12,6 @@ const sortOptionsMap = { }; const sortOptions = Object.entries(sortOptionsMap).map(([value, label]) => ({ - // value, label, key: value })); @@ -27,16 +26,11 @@ export function SortDropdown({ defaultOption, onSort, sortOptions, current }: -
+
{current}