Skip to content

Commit

Permalink
fix: Remove redundant fragment
Browse files Browse the repository at this point in the history
  • Loading branch information
ianjon3s committed May 14, 2024
1 parent a7d2589 commit d2df356
Showing 1 changed file with 9 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,17 +61,15 @@ export const TeamMembers: React.FC<Props> = ({ teamMembersByRole }) => {
const renderMemberTable = (members: TeamMember[]) => {
if (members.length === 0) {
return (
<>
<Table>
<TableHead>
<TableRow>
<TableCell>
<strong>No members found</strong>
</TableCell>
</TableRow>
</TableHead>
</Table>
</>
<Table>
<TableHead>
<TableRow>
<TableCell>
<strong>No members found</strong>
</TableCell>
</TableRow>
</TableHead>
</Table>
);
}
return (
Expand Down

0 comments on commit d2df356

Please sign in to comment.