diff --git a/bun.lockb b/bun.lockb index 07aa674..78471b8 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/components/react/authSignerModal.tsx b/components/react/authSignerModal.tsx index 5a72c76..7a9eed2 100644 --- a/components/react/authSignerModal.tsx +++ b/components/react/authSignerModal.tsx @@ -5,6 +5,7 @@ import { decodePubkey } from '@cosmjs/proto-signing'; import { useWallet, useChain } from '@cosmos-kit/react'; import { getRealLogo } from '@/utils'; import { useTheme } from '@/contexts'; +import env from '@/config/env'; type DisplayDataToSignProps = { data: SignData; @@ -116,7 +117,7 @@ const SignModal = ({ reject: () => void; }) => { const wallet = useWallet(); - const { address } = useChain('manifest'); + const { address } = useChain(env.chain); const walletIcon = wallet.wallet?.logo; const walletName = wallet.wallet?.prettyName; const { theme } = useTheme(); diff --git a/components/react/header.tsx b/components/react/header.tsx index 126d578..64b2e5f 100644 --- a/components/react/header.tsx +++ b/components/react/header.tsx @@ -1,3 +1,4 @@ +import env from '@/config/env'; import { WalletSection } from '../wallet'; export default function Header() { @@ -6,7 +7,7 @@ export default function Header() { diff --git a/components/react/mobileNav.tsx b/components/react/mobileNav.tsx index 7fa269f..52eaa7d 100644 --- a/components/react/mobileNav.tsx +++ b/components/react/mobileNav.tsx @@ -107,7 +107,7 @@ export default function MobileNav() {