Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Commit

Permalink
[mui]: (components/creditEntry): Show badges above description
Browse files Browse the repository at this point in the history
  • Loading branch information
jcxldn committed Jun 25, 2023
1 parent f1d1951 commit 03b38f1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/team/creditEntry.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,6 @@ export class CreditEntry extends React.Component<CreditEntryArgs, CreditEntrySta
<Card.Subtitle>{this.props.member.title}</Card.Subtitle>
) : undefined}

{/* Display the person's description */}
<br />
{this.props.member.description}
<br />
{/* Important: make sure the key prop is set to avoid React displaying the wrong component instance! */}
<TeamBadges
key={`TeamBadges-${this.props.member.name}=$${this.props.member.tags}`}
Expand All @@ -82,6 +78,10 @@ export class CreditEntry extends React.Component<CreditEntryArgs, CreditEntrySta
})}
muiTheme={this.props.muiTheme}
/>

{/* Display the person's description */}
<br />
{this.props.member.description}
</Card.Body>
</div>
</Row>
Expand Down

0 comments on commit 03b38f1

Please sign in to comment.