Skip to content

🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.

fix build

Bill Yang1d6f2a45702d
diff --git a/client/src/components/TopBar.tsx b/client/src/components/TopBar.tsx
index 909fc00ff..4ea4278ff 100644
--- a/client/src/components/TopBar.tsx
+++ b/client/src/components/TopBar.tsx
@@ -72,6 +72,7 @@ export function TopBar() {
) : (
<Link
href={
+ typeof window !== "undefined" &&
globalThis.location.hostname === "demo.rybbit.io"
? "https://app.rybbit.io/signup"
: "/signup"