Skip to content

Commit b95079c

Browse files
committed
fix(web): fix-code-smells-status-badge
1 parent fcaf249 commit b95079c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/src/layout/Header/navbar/Menu/StatusBadge.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ export const StatusBadge: React.FC = () => {
3333
statusUrl = process.env.REACT_APP_TESTNET_STATUS_URL!;
3434
}
3535

36-
//update url on theme toggle
37-
statusUrl = useMemo(() => (theme == "light" ? statusUrl + "?theme=light" : statusUrl + "?theme=dark"), [theme]);
36+
// update url on theme toggle
37+
statusUrl = useMemo(() => (theme === "light" ? statusUrl + "?theme=light" : statusUrl + "?theme=dark"), [theme]);
3838

3939
return (
4040
<Container>

0 commit comments

Comments
 (0)