mirror of
https://github.com/ahmadk953/tasko.git
synced 2025-04-30 18:59:37 +00:00
Formated Files
This commit is contained in:
parent
d5631b309a
commit
e768d9181f
138 changed files with 1829 additions and 1851 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue