Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Commit

Permalink
Fix issue with multiple qr codes + visual improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
dzbo committed Nov 7, 2024
1 parent c763a1d commit e86757c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion components/ModalTemplateConnectWallet.vue
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ const handleToggleMobile = () => {
{{ formatMessage('modal_connect_wallet_mobile_scan_text') }}
</div>
<WalletConnectQrCode
class="flex items-center justify-center pb-6 pt-4"
class="flex items-center justify-center"
@disconnect="handleToggleMobile"
/>
</div>
Expand Down
3 changes: 3 additions & 0 deletions components/WalletConnectQrCode.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ const generateQrCode = (data: string) => {
})
if (qrCodeElement.value) {
qrCodeElement.value.innerHTML = '<AppLoader />'
qrCode.append(qrCodeElement.value as HTMLDivElement)
qrCodeElement.value.classList.add('animate-fade-in')
}
}
Expand Down Expand Up @@ -69,6 +71,7 @@ onMounted(async () => {
>
<div
ref="qrCodeElement"
class="cursor-pointer"
:style="{
'min-height': `${size}px`,
}"
Expand Down

0 comments on commit e86757c

Please sign in to comment.