add mutate on row actions
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user