diff --git a/src/components/ReactTable5/BasicTable.js b/src/components/ReactTable5/BasicTable.js
index c9ec718..66a0971 100644
--- a/src/components/ReactTable5/BasicTable.js
+++ b/src/components/ReactTable5/BasicTable.js
@@ -123,23 +123,7 @@ const BasicTable = ({
useSortBy,
useExpanded,
usePagination,
- useRowSelect,
- (hooks) => {
- hooks.visibleColumns.push((columns) => {
- return [
- {
- id: "selection",
- Header: ({ getToggleAllRowsSelectedProps }) => (
-
- ),
- Cell: ({ row }) => (
-
- ),
- },
- ...columns,
- ];
- });
- }
+ useRowSelect
);
const { globalFilter, pageIndex, pageSize } = state;
@@ -270,7 +254,7 @@ const BasicTable = ({
[
{
Header: "نام فایل",
accessor: "fileName",
- className: "bg-blue-500 w-10",
+ // className: "bg-yellow-500",
},
{
Header: "نوع فایل",
accessor: "fileType",
+ // className: "bg-red-500 ",
},
{
Header: "سایز فایل",
accessor: "fileSize",
+ // className: "bg-blue-500 ",
},
{
Header: "تاریخ فایل",
accessor: "fileDate",
+ // className: "bg-green-500 ",
},
];
diff --git a/src/components/ReactTable5/Checkbox.js b/src/components/ReactTable5/Checkbox.js
index b67c027..4915153 100644
--- a/src/components/ReactTable5/Checkbox.js
+++ b/src/components/ReactTable5/Checkbox.js
@@ -12,7 +12,7 @@ export const Checkbox = React.forwardRef(({ indeterminate, ...rest }, ref) => {
<>