From e5f0fba0370b524130421423fcaaa45e21aef35d Mon Sep 17 00:00:00 2001 From: sylenien Date: Wed, 31 Aug 2022 17:12:01 +0200 Subject: [PATCH] fix(ui): remove buttons for bookmarks --- .../components/SessionHeader/SessionHeader.tsx | 6 +++--- .../components/SessionSort/SessionSort.tsx | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/app/components/shared/SessionListContainer/components/SessionHeader/SessionHeader.tsx b/frontend/app/components/shared/SessionListContainer/components/SessionHeader/SessionHeader.tsx index db8044a73..e991c8c31 100644 --- a/frontend/app/components/shared/SessionListContainer/components/SessionHeader/SessionHeader.tsx +++ b/frontend/app/components/shared/SessionListContainer/components/SessionHeader/SessionHeader.tsx @@ -55,14 +55,14 @@ function SessionHeader(props: Props) { -
- {!isBookmark && } + {!isBookmark &&
+
-
+
}
); } diff --git a/frontend/app/components/shared/SessionListContainer/components/SessionSort/SessionSort.tsx b/frontend/app/components/shared/SessionListContainer/components/SessionSort/SessionSort.tsx index 01e770310..f253f8651 100644 --- a/frontend/app/components/shared/SessionListContainer/components/SessionSort/SessionSort.tsx +++ b/frontend/app/components/shared/SessionListContainer/components/SessionSort/SessionSort.tsx @@ -15,7 +15,7 @@ const sortOptions = Object.entries(sortOptionsMap).map(([value, label]) => ({ va interface Props { filter: any; - options: any; + options?: any; applyFilter: (filter: any) => void; sort: (sort: string, sign: number) => void; }