Formated Files

This commit is contained in:
Ahmad 2024-03-15 17:03:28 -04:00
parent 8ef97bf854
commit bdb5925975
No known key found for this signature in database
GPG key ID: 8FD8A93530D182BF
5 changed files with 51 additions and 47 deletions

View file

@ -29,7 +29,9 @@ export const CardItem = ({ index, data }: CardItemProps) => {
{data.title}
<div className='flex w-fit rounded-md border-2 border-transparent bg-slate-100 px-0.5 pb-0.5 pt-0.5 text-sm'>
<Calendar className='ml-0.5 mr-0.5 h-4 w-4' />
{data?.dueDate ? 'Due: ' + format(data.dueDate, 'PP') : 'No Due Date'}
{data?.dueDate
? 'Due: ' + format(data.dueDate, 'PP')
: 'No Due Date'}
</div>
</div>
)}