diff --git a/src/hooks/starknet-react.ts b/src/hooks/starknet-react.ts index 9deb4511..5e62e30c 100644 --- a/src/hooks/starknet-react.ts +++ b/src/hooks/starknet-react.ts @@ -46,7 +46,7 @@ export const useAccountDetails = (): { }) const chainId = useMemo(() => { - if (!connectedChainId || !connectedChainId.data) return undefined + if (!connectedChainId || !connectedChainId.data) return ChainId.MAINNET return connectedChainId.data }, [connectedChainId, address])