diff --git a/.gitignore b/.gitignore index b500355..0add2f2 100644 --- a/.gitignore +++ b/.gitignore @@ -37,3 +37,5 @@ yarn-error.log* next-env.d.ts .idea/ + +certificates \ No newline at end of file diff --git a/components/react/authSignerModal.tsx b/components/react/authSignerModal.tsx index c11745c..5a72c76 100644 --- a/components/react/authSignerModal.tsx +++ b/components/react/authSignerModal.tsx @@ -1,12 +1,10 @@ -import { Fragment, useEffect } from 'react'; -import { Dialog, Transition } from '@headlessui/react'; +import { useEffect } from 'react'; import { SignData } from '@cosmos-kit/web3auth'; -import { SignDoc } from '@liftedinit/manifestjs/dist/codegen/cosmos/tx/v1beta1/tx'; import { TxBody, AuthInfo } from '@liftedinit/manifestjs/dist/codegen/cosmos/tx/v1beta1/tx'; import { decodePubkey } from '@cosmjs/proto-signing'; import { useWallet, useChain } from '@cosmos-kit/react'; -import Image from 'next/image'; import { getRealLogo } from '@/utils'; +import { useTheme } from '@/contexts'; type DisplayDataToSignProps = { data: SignData; @@ -121,6 +119,7 @@ const SignModal = ({ const { address } = useChain('manifest'); const walletIcon = wallet.wallet?.logo; const walletName = wallet.wallet?.prettyName; + const { theme } = useTheme(); useEffect(() => { const modal = document.getElementById('sign-modal') as HTMLDialogElement; @@ -138,7 +137,11 @@ const SignModal = ({
v{version}
+v{version}
+ +