Skip to content

Commit

Permalink
fix: fix icon tick when clear change date
Browse files Browse the repository at this point in the history
  • Loading branch information
tungnguyendinh committed May 9, 2024
1 parent e4c0b09 commit a3ffb51
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/commons/CustomFilter/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ const CustomFilter: React.FC<Props> = (props) => {
toDate: moment(toDate, DATETIME_PARTTEN).endOf("d").utc().format(DATETIME_PARTTEN)
});
}}
onClearValue={() => setParams({ ...params, fromDate: "", toDate: "" })}
onClose={() => setOpenDateRange(false)}
/>
</AdditionContainer>
Expand Down

0 comments on commit a3ffb51

Please sign in to comment.