From 0648e806d019835a4bae05ebd8344941c7cf0335 Mon Sep 17 00:00:00 2001
From: amy-corson-ibigroup
<115499534+amy-corson-ibigroup@users.noreply.github.com>
Date: Fri, 4 Oct 2024 14:42:57 -0500
Subject: [PATCH] fix: add curly braces to conditional
---
lib/components/util/operator-logo.tsx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/components/util/operator-logo.tsx b/lib/components/util/operator-logo.tsx
index e40c121cac..f88f6d51ac 100644
--- a/lib/components/util/operator-logo.tsx
+++ b/lib/components/util/operator-logo.tsx
@@ -24,8 +24,9 @@ type Props = {
const OperatorLogo = ({ alt, operator, styled }: Props): JSX.Element | null => {
if (!operator?.logo) return null
- if (styled)
+ if (styled) {
return
+ }
return
}