Skip to content

Commit a0d87c5

Browse files
fix: add curly braces to conditional
1 parent 2995aac commit a0d87c5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/components/util/operator-logo.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@ type Props = {
2424

2525
const OperatorLogo = ({ alt, operator, styled }: Props): JSX.Element | null => {
2626
if (!operator?.logo) return null
27-
if (styled)
27+
if (styled) {
2828
return <StyledOperatorImg alt={alt || operator.name} src={operator.logo} />
29+
}
2930

3031
return <OperatorImg alt={alt || operator.name} src={operator.logo} />
3132
}

0 commit comments

Comments
 (0)