add mutate on row actions

This commit is contained in:
2024-09-22 07:33:19 +00:00
committed by AmirHossein Mahmoodi
parent f25f6ec962
commit b590095c23
20 changed files with 257 additions and 267 deletions

View File

@@ -3,11 +3,6 @@ import { useAuth } from "@/lib/contexts/auth";
const DataTableWithAuth = (props) => {
const { user } = useAuth();
return (
<DataTable
user_id={user.username}
{...props}
/>
);
return <DataTable user_id={user.username} {...props} />;
};
export default DataTableWithAuth;