Skip to content

Commit

Permalink
chore: remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
gitanjli525 committed Oct 10, 2024
1 parent 620aa86 commit d4a4ae2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/Filter.res
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module ClearFilters = {
~isCountRequired=true,
~outsidefilter=false,
) => {
let {updateExistingKeys, filterKeys: _} = React.useContext(FilterContext.filterContext)
let {updateExistingKeys} = React.useContext(FilterContext.filterContext)
let textStyle = "text-red-900"
let leftIcon: Button.iconType = CustomIcon(<Icon name="trash-outline" size=24 />)

Expand Down Expand Up @@ -65,7 +65,6 @@ module ClearFilters = {
->Array.length > 0
}, (formState.initialValues, defaultFilterKeys))
let text = "Clear All"
// <RenderIf condition={filterKeys->Array.length != 0 || outsidefilter}>
<RenderIf condition={hasExtraFilters || outsidefilter}>
<Button
text
Expand Down

0 comments on commit d4a4ae2

Please sign in to comment.