Merge branch 'main' into develop

This commit is contained in:
navaneeth 2021-12-09 11:08:49 +05:30
commit a09fd6ad2f

View file

@ -38,7 +38,7 @@ export const Datepicker = function Datepicker({
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [isValid]);
const isDateFormat = enableDate ? format : false;
const isDateFormat = enableDate === true ? format : enableDate;
return (
<div