Skip to content

Commit 5f3d611

Browse files
committed
added remove user button
1 parent 8c018f0 commit 5f3d611

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

src/ui/pages/screen/Screen.page.tsx

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -76,22 +76,20 @@ export const ScreenPage: React.FC = () => {
7676
<Table.Td>{event.host}</Table.Td>
7777
<Table.Td>{event.featured ? 'Yes' : 'No'}</Table.Td> */}
7878
{/* <Table.Td>{capitalizeFirstLetter(event.repeats || 'Never')}</Table.Td> */}
79-
{/* <Table.Td>
79+
<Table.Td>
8080
<ButtonGroup>
81-
<Button component="a" href={`/events/edit/${event.id}`}>
82-
Edit
83-
</Button>
81+
{/* <Button component="a">Edit</Button> */}
8482
<Button
8583
color="red"
8684
onClick={() => {
87-
setDeleteCandidate(event);
85+
setRemoveUser(user);
8886
open();
8987
}}
9088
>
91-
Delete
89+
Remove User
9290
</Button>
9391
</ButtonGroup>
94-
</Table.Td> */}
92+
</Table.Td>
9593
</tr>
9694
)}
9795
</Transition>
@@ -220,6 +218,7 @@ export const ScreenPage: React.FC = () => {
220218
<Table.Th>Middle Name</Table.Th>
221219
<Table.Th>Last Name</Table.Th>
222220
<Table.Th>Affiliated Special Interest Group</Table.Th>
221+
<Table.Th>Actions</Table.Th>
223222
</Table.Tr>
224223
</Table.Thead>
225224
<Table.Tbody>{userList.map(renderTableRow)}</Table.Tbody>

0 commit comments

Comments
 (0)