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)