From f0b33ace3eeddc74f30527fccab2df8cbabe9b42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dafydd=20Ll=C5=B7r=20Pearson?= Date: Tue, 29 Oct 2024 15:47:20 +0000 Subject: [PATCH] fix: Invalid table warnings --- .../Team/components/MembersTable.tsx | 28 ++++++++++--------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/editor.planx.uk/src/pages/FlowEditor/components/Team/components/MembersTable.tsx b/editor.planx.uk/src/pages/FlowEditor/components/Team/components/MembersTable.tsx index 5922db3487..cc4341328b 100644 --- a/editor.planx.uk/src/pages/FlowEditor/components/Team/components/MembersTable.tsx +++ b/editor.planx.uk/src/pages/FlowEditor/components/Team/components/MembersTable.tsx @@ -91,17 +91,19 @@ export const MembersTable = ({ {showAddMemberButton && ( - - - { - addUser(); - }} - > - Add a new editor - - - + + + + { + addUser(); + }} + > + Add a new editor + + + + )} {showModal && ( @@ -130,7 +132,7 @@ export const MembersTable = ({ Email - {" "} + { // empty table cells for styling across buttons } @@ -141,7 +143,7 @@ export const MembersTable = ({ - {members.map((member, i) => ( + {members.map((member) => (