Skip to content

Commit

Permalink
Fix self-closing tags in UsersView
Browse files Browse the repository at this point in the history
  • Loading branch information
fwcd committed Oct 7, 2024
1 parent cebba95 commit 1c38369
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/screens/home/admin/UsersView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export function UsersView() {
action={userModal?.action ?? 'add'}
show={userModal !== null}
setShow={show => !show && setUserModal(null)}
></UserModal>
/>

<Table
aria-label="Table of users for administrators"
Expand Down Expand Up @@ -156,23 +156,23 @@ export function UsersView() {
onClick={() => {
setUserModal({ id: user.id ?? 0, action: 'view' });
}}
></IconEye>
/>
</Tooltip>
<Tooltip content="Edit user">
<IconPencil
className="text-lg cursor-pointer active:opacity-50"
onClick={() => {
setUserModal({ id: user.id ?? 0, action: 'edit' });
}}
></IconPencil>
/>
</Tooltip>
<Tooltip color="danger" content="Delete user">
<IconTrash
className="text-lg text-danger cursor-pointer active:opacity-50"
onClick={() => {
setUserModal({ id: user.id ?? 0, action: 'delete' });
}}
></IconTrash>
/>
</Tooltip>
</div>
</TableCell>
Expand Down

0 comments on commit 1c38369

Please sign in to comment.