From 2634369b85ed8ef41297b7cf105947bf4cffe5e1 Mon Sep 17 00:00:00 2001 From: "yongen.loong" <yongen.loong@aelf.io> Date: Fri, 26 Jul 2024 11:48:15 +0800 Subject: [PATCH] feat: disable on production --- src/theme/logo.tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/theme/logo.tsx b/src/theme/logo.tsx index 5341770d..faa5e685 100644 --- a/src/theme/logo.tsx +++ b/src/theme/logo.tsx @@ -16,9 +16,11 @@ export default function Logo(): JSX.Element { dark: useBaseUrl("/img/Logo.aelf.white.svg"), }} /> - <div> - <ChainGPT /> - </div> + {!window.location.host.includes("aelf.com") && ( + <div> + <ChainGPT /> + </div> + )} </> ); }