chore: feedback fix

This commit is contained in:
pit
2023-10-10 16:52:58 +03:00
committed by Mythie
parent d2263a6d72
commit f569361e57
3 changed files with 17 additions and 50 deletions

View File

@ -1,7 +1,6 @@
'use client';
import { Copy, Download, History, MoreHorizontal, Trash2, XCircle } from 'lucide-react';
import { useSession } from 'next-auth/react';
import { getFile } from '@documenso/lib/universal/upload/get-file';
import { Document, DocumentStatus, User } from '@documenso/prisma/client';
@ -22,12 +21,6 @@ export type DataTableActionDropdownProps = {
};
export const DataTableActionDropdown = ({ row }: DataTableActionDropdownProps) => {
const { data: session } = useSession();
if (!session) {
return null;
}
// const isRecipient = !!recipient;
// const isDraft = row.status === DocumentStatus.DRAFT;
// const isPending = row.status === DocumentStatus.PENDING;