Skip to content

Commit

Permalink
Fix current address
Browse files Browse the repository at this point in the history
  • Loading branch information
samchuk-vlad committed Dec 12, 2023
1 parent 23ef739 commit c09bcb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/utils/PageContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const PageContainer: FC<PageContainerProps> = ({ 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)
Expand Down

0 comments on commit c09bcb2

Please sign in to comment.