Formated Files

This commit is contained in:
Ahmad 2024-02-15 20:49:19 -05:00
parent d5631b309a
commit e768d9181f
No known key found for this signature in database
GPG key ID: 8FD8A93530D182BF
138 changed files with 1829 additions and 1851 deletions

View file

@ -1,9 +1,9 @@
"use client";
'use client';
import { Draggable } from "@hello-pangea/dnd";
import { Card } from "@prisma/client";
import { Draggable } from '@hello-pangea/dnd';
import { Card } from '@prisma/client';
import { useCardModal } from "@/hooks/use-card-modal";
import { useCardModal } from '@/hooks/use-card-modal';
interface CardItemProps {
index: number;
@ -20,9 +20,9 @@ export const CardItem = ({ index, data }: CardItemProps) => {
{...provided.draggableProps}
{...provided.dragHandleProps}
ref={provided.innerRef}
role="button"
role='button'
onClick={() => cardModal.onOpen(data.id)}
className="truncate border-2 border-transparent hover:border-black py-2 px-3 text-sm bg-white rounded-md shadow-sm"
className='truncate rounded-md border-2 border-transparent bg-white px-3 py-2 text-sm shadow-sm hover:border-black'
>
{data.title}
</div>