diff --git a/src/components/GithubButton/index.tsx b/src/components/GithubButton/index.tsx
index 896b362..36bc471 100644
--- a/src/components/GithubButton/index.tsx
+++ b/src/components/GithubButton/index.tsx
@@ -7,14 +7,12 @@ import { useSiteStore } from '../../store/useSiteStore';
const GithubButton: FC = () => {
const repoUrl = useSiteStore((s) => s.siteData.themeConfig?.github);
- return (
- repoUrl && (
-
-
- } />
-
-
- )
+ return !repoUrl ? null : (
+
+
+ } />
+
+
);
};