Skip to content

Commit

Permalink
clean up the condition for isSmartSorted
Browse files Browse the repository at this point in the history
  • Loading branch information
eunjae-lee committed Feb 11, 2021
1 parent 9869c12 commit 996c09a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/connectors/smart-sort/connectSmartSort.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,7 @@ const connectSmartSort: SmartSortConnector = function connectSmartSort(

return {
isSmartSorted:
typeof appliedRelevancyStrictness !== 'undefined' &&
appliedRelevancyStrictness > 0 &&
appliedRelevancyStrictness <= 100,
appliedRelevancyStrictness > 0 && appliedRelevancyStrictness <= 100,
refine: connectorState.refine,
widgetParams,
};
Expand Down

0 comments on commit 996c09a

Please sign in to comment.