Skip to content

Commit ef0c689

Browse files
committed
fix: base logo corlor
1 parent b79e70d commit ef0c689

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/DisputeGameLogo.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ import { useContext } from "react";
44

55
const DisputeGameLogo: React.FC<{ className?: string }> = ({}) => {
66
const { network } = useContext(NetworkConfigContext);
7+
const isBase = network.indexOf("base") !== -1;
78
return (
89
<Link href="/">
910
<img
10-
src={network === "base-sepolia" ? "/logo_base.svg" : "/logo.svg"}
11+
src={isBase ? "/logo_base.svg" : "/logo.svg"}
1112
className="w-48"
1213
alt="logo"
1314
/>

0 commit comments

Comments
 (0)