We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fcaf249 commit b95079cCopy full SHA for b95079c
web/src/layout/Header/navbar/Menu/StatusBadge.tsx
@@ -33,8 +33,8 @@ export const StatusBadge: React.FC = () => {
33
statusUrl = process.env.REACT_APP_TESTNET_STATUS_URL!;
34
}
35
36
- //update url on theme toggle
37
- statusUrl = useMemo(() => (theme == "light" ? statusUrl + "?theme=light" : statusUrl + "?theme=dark"), [theme]);
+ // update url on theme toggle
+ statusUrl = useMemo(() => (theme === "light" ? statusUrl + "?theme=light" : statusUrl + "?theme=dark"), [theme]);
38
39
return (
40
<Container>
0 commit comments