Skip to content

Commit

Permalink
Add a proper type declaration.
Browse files Browse the repository at this point in the history
  • Loading branch information
ray-lee committed Aug 30, 2022
1 parent 5b5d535 commit e3fca43
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/reducers/customListEditor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,7 @@ export const buildSearchFacetString = (
searchParams: CustomListEditorSearchParams
): string => {
const { entryPoint, sort } = searchParams;

const facets: any = {};
const facets: Record<string, string> = {};

if (entryPoint !== "All") {
facets.media = entryPoint;
Expand Down

0 comments on commit e3fca43

Please sign in to comment.