Skip to content

Commit

Permalink
refactor: remove unnecessary comment
Browse files Browse the repository at this point in the history
  • Loading branch information
navinkarkera committed Sep 17, 2024
1 parent 5185e7a commit d09b29a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ const LibraryCollectionPage = () => {
canEditLibrary={libraryData.canEditLibrary}
infoClickHandler={openCollectionInfoSidebar}
/>
)}
)}
breadcrumbs={(
<Breadcrumb
ariaLabel={intl.formatMessage(messages.breadcrumbsAriaLabel)}
Expand Down
1 change: 0 additions & 1 deletion src/search-manager/SearchManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ export const SearchContextProvider: React.FC<{
const sort: SearchSortOption[] = (searchSortOrderToUse === SearchSortOption.RELEVANCE ? [] : [searchSortOrderToUse]);
// Selecting SearchSortOption.RECENTLY_PUBLISHED also excludes unpublished components.
if (searchSortOrderToUse === SearchSortOption.RECENTLY_PUBLISHED) {
// pushing to array leads to duplicate values if props.extraFilter is already an array.
extraFilter = union(extraFilter, ['last_published IS NOT NULL']);
}

Expand Down

0 comments on commit d09b29a

Please sign in to comment.