Skip to content

Commit

Permalink
Fix conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
mariia-aloshyna committed Apr 26, 2024
1 parent acac096 commit 62a2cc0
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/withFacets.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import {
browseModeMap,
browseCallNumberOptions,
queryIndexes,
browseClassificationOptions,
} from './constants';
import { getAdvancedSearchTemplate } from './routes/buildManifestObject';

Expand Down Expand Up @@ -135,10 +134,6 @@ function withFacets(WrappedComponent) {
return 'search/subjects/facets';
}

if (Object.values(browseClassificationOptions).includes(queryIndex)) {
return 'search/classifications/facets';
}

return 'search/instances/facets';
}

Expand Down

0 comments on commit 62a2cc0

Please sign in to comment.