Skip to content

Commit

Permalink
MSCR-293 Format with Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
maariaw committed Dec 11, 2023
1 parent 4b9b60e commit 542bcc2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion mscr-ui/src/common/interfaces/search.interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,12 @@ export interface MscrSearchResult {
_source: ResultInfo;
}

export type Facet = 'state' | 'type' | 'format' | 'organization' | 'isReferenced';
export type Facet =
| 'state'
| 'type'
| 'format'
| 'organization'
| 'isReferenced';

export interface Filter {
label: string;
Expand Down
2 changes: 1 addition & 1 deletion mscr-ui/src/modules/search-screen/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export default function SearchScreen() {
type: t('search.facets.type'),
format: t('search.facets.format'),
organization: t('search.facets.organization'),
isReferenced: t('search.facets.isReferenced')
isReferenced: t('search.facets.isReferenced'),
};

const makeFilter = (key: string, buckets: Bucket[]): Filter => {
Expand Down

0 comments on commit 542bcc2

Please sign in to comment.