From 96d4d814b28e3e8d2c8ad869629e8dd31275453e Mon Sep 17 00:00:00 2001 From: Aman Harwara Date: Fri, 27 Oct 2023 20:44:43 +0530 Subject: [PATCH] chore: fix multi selection bar positoning [skip e2e] --- .../javascripts/Components/ContentListView/ContentList.tsx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/packages/web/src/javascripts/Components/ContentListView/ContentList.tsx b/packages/web/src/javascripts/Components/ContentListView/ContentList.tsx index 24e11bf57..f4aeddb13 100644 --- a/packages/web/src/javascripts/Components/ContentListView/ContentList.tsx +++ b/packages/web/src/javascripts/Components/ContentListView/ContentList.tsx @@ -7,7 +7,7 @@ import { ListableContentItem } from './Types/ListableContentItem' import ContentListItem from './ContentListItem' import { ElementIds } from '@/Constants/ElementIDs' import { classNames } from '@standardnotes/utils' -import { ContentType, SNTag } from '@standardnotes/snjs' +import { SNTag } from '@standardnotes/snjs' import { ItemListController } from '@/Controllers/ItemList/ItemListController' type Props = { @@ -78,15 +78,12 @@ const ContentList: FunctionComponent = ({ application, items, selectedUui [hideTags, selectedTag, application], ) - const hasNotes = items.some((item) => item.content_type === ContentType.TYPES.Note) - return (