Skip to content

Commit d09b29a

Browse files
committed
refactor: remove unnecessary comment
1 parent 5185e7a commit d09b29a

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/library-authoring/collections/LibraryCollectionPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ const LibraryCollectionPage = () => {
157157
canEditLibrary={libraryData.canEditLibrary}
158158
infoClickHandler={openCollectionInfoSidebar}
159159
/>
160-
)}
160+
)}
161161
breadcrumbs={(
162162
<Breadcrumb
163163
ariaLabel={intl.formatMessage(messages.breadcrumbsAriaLabel)}

src/search-manager/SearchManager.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@ export const SearchContextProvider: React.FC<{
116116
const sort: SearchSortOption[] = (searchSortOrderToUse === SearchSortOption.RELEVANCE ? [] : [searchSortOrderToUse]);
117117
// Selecting SearchSortOption.RECENTLY_PUBLISHED also excludes unpublished components.
118118
if (searchSortOrderToUse === SearchSortOption.RECENTLY_PUBLISHED) {
119-
// pushing to array leads to duplicate values if props.extraFilter is already an array.
120119
extraFilter = union(extraFilter, ['last_published IS NOT NULL']);
121120
}
122121

0 commit comments

Comments
 (0)