Skip to content

Commit

Permalink
style: fix linting warnings/errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jackw committed Feb 5, 2024
1 parent b2644b3 commit 5f5e1f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/ThresholdsAssistant.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export function ThresholdsAssistant({ thresholds }: { thresholds?: ThresholdsCon
<div className={styles.grid}>
<div className={styles.trafficLight} />
{validSteps.map((step, i) => (
<ThresholdFeedback isValid={step.isValid} index={i} />
<ThresholdFeedback isValid={step.isValid} index={i} key={i} />
))}
</div>
</Alert>
Expand Down Expand Up @@ -77,7 +77,7 @@ const getStyles = (theme: GrafanaTheme2) => ({
label: css({
display: 'flex',
alignItems: 'center',
fontSize: theme.typography.size.sm,
fontSize: theme.typography.bodySmall.fontSize
}),
valid: css({
backgroundColor: theme.colors.success.main,
Expand Down

0 comments on commit 5f5e1f5

Please sign in to comment.