Skip to content
Snippets Groups Projects

Make email field validate on change again

Merged Andreas Ellewsen requested to merge GREG-196-revalidate-email into master
2 files
+ 136
143
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -147,7 +147,7 @@ const PersonLine = ({ person, role }: PersonLineProps) => {
const [t] = useTranslation(['common'])
return (
<StyledTableRow key={`${person.first} ${person.last}`}>
<StyledTableRow>
<TableCell component="th" scope="row">
{`${person.first} ${person.last}`}
</TableCell>
@@ -190,7 +190,11 @@ const GuestTable = ({ guests, emptyText }: GuestTableProps) => {
{guests.length > 0 ? (
guests.map((person) =>
person.roles.map((role) => (
<PersonLine role={role} person={person} />
<PersonLine
key={`${person.first} ${person.last} ${role.id}`}
role={role}
person={person}
/>
))
)
) : (
Loading