Skip to content

Commit

Permalink
feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
Yen Truong committed Oct 27, 2021
1 parent d9550ce commit 887d6db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions react-app.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* allowed TypeScript to correctly recognize the .svg module declarations,
* where svg can be use as a React component.
* Allows TypeScript to correctly recognize the .svg module declarations,
* where svg can be used as a React component.
*/
declare module '*.svg' {
import * as React from 'react';
Expand Down
2 changes: 1 addition & 1 deletion sample-app/src/components/AppliedFilters.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function RemovableFilter({ filter }: {filter: DisplayableFilter }): JSX.Element
const onRemoveFacetOption = () => {
const { fieldId, matcher, value } = filter.filter;
if (isNearFilterValue(value)) {
console.error('unrecognized value type for facet option.');
console.error('A Filter with a NearFilterValue is not a supported RemovableFilter.');
return;
}
answersAction.unselectFacetOption(fieldId, { matcher, value });
Expand Down

0 comments on commit 887d6db

Please sign in to comment.