Skip to content

Commit

Permalink
run lint locally (sigh)
Browse files Browse the repository at this point in the history
  • Loading branch information
siddharthkp committed Jul 22, 2024
1 parent 819706d commit af3dc9c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion packages/react/src/StateLabel/StateLabel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,14 @@ function StateLabel({children, status, variant: variantProp = 'normal', ...rest}
return (
<StateLabelBase {...rest} variant={variantProp} status={status}>
{/* eslint-disable-next-line @typescript-eslint/no-unnecessary-condition */}
{status && <Octicon {...octiconProps} icon={octiconMap[status] || QuestionIcon} aria-label={labelMap[status]} sx={{mr: 1}} />}
{status && (
<Octicon
{...octiconProps}
icon={octiconMap[status] || QuestionIcon}
aria-label={labelMap[status]}
sx={{mr: 1}}
/>
)}
{children}
</StateLabelBase>
)
Expand Down

0 comments on commit af3dc9c

Please sign in to comment.