|
|
@@ -137,14 +137,9 @@ export const UserGroupTable: FC<Props> = ({
|
|
|
setGroupIdToChildGroupsMap(generateGroupIdToChildGroupsMap(childUserGroups));
|
|
|
}, [userGroupRelations, childUserGroups]);
|
|
|
const [hoveredindex, setHoveredIdex] = useState<undefined | number>(undefined);
|
|
|
- const ButtonForUserGroupedit = (index) => {
|
|
|
+ const ButtonForUserGroupedit = async(index) => {
|
|
|
return (
|
|
|
- <button
|
|
|
- className="btn btn-link btn-edit-groups text-secondary py-0"
|
|
|
- type="button"
|
|
|
- >
|
|
|
- <span className={`material-symbols-outlined px-2 py-0 ${hoveredindex === index ? '' : 'opacity-0'}`}>edit</span>
|
|
|
- </button>
|
|
|
+ <span className={`material-symbols-outlined px-2 py-0 ${hoveredindex === index ? '' : 'opacity-0'}`}>edit</span>
|
|
|
);
|
|
|
};
|
|
|
|