chore: temp column commented in pending invitation table

This commit is contained in:
Nishchit Dhanani
2023-07-29 17:24:38 +05:30
parent 379cb480c4
commit c7f47c2085

View File

@@ -27,7 +27,7 @@ const columns = [
width: '180px', width: '180px',
}, },
{ id: 'role', name: 'Role', key: 'role', width: '115px', fixedWidth: true }, { id: 'role', name: 'Role', key: 'role', width: '115px', fixedWidth: true },
{ id: 'action', name: '', key: '', width: '35px', fixedWidth: true }, // { id: 'action', name: '', key: '', width: '35px', fixedWidth: true },
]; ];
const RoleOptions = [ const RoleOptions = [
@@ -135,17 +135,17 @@ const PendingInviteMembersTab = ({ members = [], isFetchingMembers = false }) =>
</div> </div>
); );
break; break;
case 'action': // case 'action':
return ( // return (
<div className="px-2"> // <div className="px-2">
<VscTrash // <VscTrash
size={14} // size={14}
className="text-error cursor-pointer" // className="text-error cursor-pointer"
onClick={() => onRemoveMember(row)} // onClick={() => onRemoveMember(row)}
/> // />
</div> // </div>
); // );
break; // break;
default: default:
return column.key; return column.key;
} }