complete all 4 pages with their table and make a adapter for datatable

This commit is contained in:
2024-09-16 16:44:59 +03:30
parent 20a89754d1
commit 885c9bdecd
11 changed files with 549 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
import DataTable from "@/core/components/DataTable";
import { useAuth } from "@/lib/contexts/auth";
const DataTableWithAuth = (props) => {
const { user } = useAuth();
return (
<DataTable
user_id={user.username}
{...props}
/>
);
};
export default DataTableWithAuth;