Skip to content

Commit

Permalink
Fix sonar cloud issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jeznorth committed Jan 22, 2024
1 parent e54a721 commit 1187d26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/components/security/SecurityRuleCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const SecurityRuleCard = (props: ISecurityRuleCardProps) => {
{props.featureMembers && props.featureMembers?.length && (
<Stack component="ul" flexDirection="row" gap={2} mt={0.75} mb={0} p={0}>
{props.featureMembers.map((featureMember) => (
<Typography component="li" variant="body2" color="textSecondary" fontWeight={700} sx={{ display: 'block' }}>
<Typography key={featureMember} component="li" variant="body2" color="textSecondary" fontWeight={700} sx={{ display: 'block' }}>

Check warning on line 48 in app/src/components/security/SecurityRuleCard.tsx

View workflow job for this annotation

GitHub Actions / Running Linter and Formatter

Replace `·key={featureMember}·component="li"·variant="body2"·color="textSecondary"·fontWeight={700}` with `⏎··············key={featureMember}⏎··············component="li"⏎··············variant="body2"⏎··············color="textSecondary"⏎··············fontWeight={700}⏎·············`

Check warning on line 48 in app/src/components/security/SecurityRuleCard.tsx

View check run for this annotation

Codecov / codecov/patch

app/src/components/security/SecurityRuleCard.tsx#L48

Added line #L48 was not covered by tests
{featureMember}
</Typography>
))}
Expand Down

0 comments on commit 1187d26

Please sign in to comment.