diff --git a/src/app/ui/tables/data-table.tsx b/src/app/ui/tables/data-table.tsx
index 7fa06bc..89929ae 100644
--- a/src/app/ui/tables/data-table.tsx
+++ b/src/app/ui/tables/data-table.tsx
@@ -9,7 +9,7 @@ import {
DropdownMenuRadioGroup
} from "@/components/ui/dropdown-menu"
import { Input } from "@/components/ui/input"
-import { useState } from "react"
+import { Component, ComponentProps, useState } from "react"
import {
ColumnDef,
flexRender,
@@ -33,8 +33,6 @@ import {
} from "@/components/ui/table"
import { EyeIcon } from "lucide-react"
import { usePathname } from "next/navigation"
-import { useRouter } from "next/navigation"
-import Link from "next/link"
interface DataTableProps
{
columns: ColumnDef[]
@@ -45,8 +43,8 @@ interface DataTableProps {
export function DataTable({
columns,
data,
- type
-}: DataTableProps & { type: "publication" | "submission" | "story" | "genre" | "response" }) {
+ children
+}: DataTableProps & ComponentProps<"div"> & { type: "publication" | "submission" | "story" | "genre" | "response" }) {
//STATE
const [sorting, setSorting] = useState([])
const [columnFilters, setColumnFilters] = useState(
@@ -107,9 +105,8 @@ export function DataTable({
/>
-