Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Invalid table warnings #3873

Merged
merged 1 commit into from
Oct 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -91,17 +91,19 @@ export const MembersTable = ({
</TableRow>
</TableHead>
{showAddMemberButton && (
<TableRow>
<TableCell colSpan={3}>
<AddButton
onClick={() => {
addUser();
}}
>
Add a new editor
</AddButton>
</TableCell>
</TableRow>
<TableBody>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

<TableRow>
<TableCell colSpan={3}>
<AddButton
onClick={() => {
addUser();
}}
>
Add a new editor
</AddButton>
</TableCell>
</TableRow>
</TableBody>
)}
</Table>
{showModal && (
Expand Down Expand Up @@ -130,7 +132,7 @@ export const MembersTable = ({
</TableCell>
<TableCell>
<strong>Email</strong>
</TableCell>{" "}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

</TableCell>
{
// empty table cells for styling across buttons
}
Expand All @@ -141,7 +143,7 @@ export const MembersTable = ({
<TableBody
data-testid={`members-table${showAddMemberButton && "-add-editor"}`}
>
{members.map((member, i) => (
{members.map((member) => (
<StyledTableRow key={member.id}>
<TableCell
sx={{
Expand Down
Loading