Closed joywin2003 closed 1 day ago
add this <DataTable searchKey="name" columns={columns as ColumnDef<unknown, unknown>[]} data={data ?? []} />
That looks like a next level jugad, Should I use it or better rely on something else(I already did) @Vyshnav001
In the
src/components/tables/faculty/faculty-table.tsx
folder,the above wont work cause of lazy laoding requiring default import but datatable is not a default import and if i show default then itll show the below error