From c09bcb202f9dc2316f1bee70dad8cef1699a3bb0 Mon Sep 17 00:00:00 2001 From: Sam Date: Tue, 12 Dec 2023 17:16:31 +0200 Subject: [PATCH] Fix current address --- src/components/utils/PageContainer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/utils/PageContainer.tsx b/src/components/utils/PageContainer.tsx index 80f15840..728ad4d1 100644 --- a/src/components/utils/PageContainer.tsx +++ b/src/components/utils/PageContainer.tsx @@ -34,7 +34,7 @@ const PageContainer: FC = ({ children, isHomePage }) => { const addressFromUrl = maybeAddress?.toString() const parsedAddressFromUrl = parseAddressFromUrl(addressFromUrl) - const addresses = (useCurrentAccount() || parsedAddressFromUrl).filter( + const addresses = (useCurrentAccount() || parsedAddressFromUrl)?.filter( (x) => isDef(x) && !!x ) useFetchIdentities(addresses)