♻️ refactor: make the conditional logic to boolean

This commit is contained in:
Wahyu Kurniawan 2024-03-05 05:06:28 +07:00
parent 8a1e84386a
commit e9f32ff668
No known key found for this signature in database
GPG Key ID: 040A1549143A8E33

View File

@ -289,7 +289,7 @@ export const Calendar = ({
<div
{...footerProps}
className={cn(footer({ className: footerProps?.className }), {
'justify-between': value,
'justify-between': Boolean(value),
})}
>
{actions ? (