From b635a1e4bb857e0f981cb92693091c2297a0f428 Mon Sep 17 00:00:00 2001 From: serefyarar Date: Tue, 1 Oct 2024 18:06:48 -0400 Subject: [PATCH] iterate --- web-app/src/components/layout/site/AppLayout/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web-app/src/components/layout/site/AppLayout/index.tsx b/web-app/src/components/layout/site/AppLayout/index.tsx index 4df3f3c3..1a18a83e 100644 --- a/web-app/src/components/layout/site/AppLayout/index.tsx +++ b/web-app/src/components/layout/site/AppLayout/index.tsx @@ -21,7 +21,7 @@ export const AppLayout = ({ children }: AppLayoutProps) => ( sdkOptions={{ dappMetadata: { name: "Index Network", - url: window.location.href, + url: typeof window !== 'undefined' ? window.location.href : "https://index.network", }, infuraAPIKey: process.env.INFURA_API_KEY, }}