Skip to content

Commit

Permalink
prevent wallet connect to not voluntarily submit forms
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzamontiel committed Jul 25, 2023
1 parent f5becc6 commit 1168b2b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/Wallet/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ const OpenWallet = ({ dAppName }: { dAppName: string }): JSX.Element => {
color="ghost"
className="text-sm border-base-300 border-1 bg-base-200 min-h-[2.1rem] h-auto px-1 sm:px-3"
title={wallet?.title}
type="button"
>
{query.isLoading ? (
<Skeleton className="bg-[rgba(0,0,0,.06)] px-2 py-1 mr-2 hidden sm:flex">10000.00 TKN</Skeleton>
Expand Down Expand Up @@ -57,7 +58,7 @@ const OpenWallet = ({ dAppName }: { dAppName: string }): JSX.Element => {
open={false}
showAccountsList={true}
triggerComponent={
<Button size="sm" className={`text-sm min-h-[2.1rem] h-auto px-1 sm:px-3`} color="primary">
<Button size="sm" className={`text-sm min-h-[2.1rem] h-auto px-1 sm:px-3`} color="primary" type="button">
Connect to Wallet
</Button>
}
Expand Down

0 comments on commit 1168b2b

Please sign in to comment.