Skip to content

Commit

Permalink
Merge pull request #32 from Apillon/staging
Browse files Browse the repository at this point in the history
Staging
  • Loading branch information
MoMannn authored Feb 21, 2024
2 parents 4e2f41c + 04a50ce commit ed7738d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions frontend/components/parts/ConnectWallet.vue
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,11 @@ async function login() {
try {
await refetch();
await sleep(200);
if (!walletClient.value) {
await connect({ connector: connectors.value[0] });
await sleep(200);
if (!walletClient.value) {
error('Could not connect with wallet');
Expand Down
2 changes: 2 additions & 0 deletions frontend/pages/claim.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,12 @@ async function claimAirdrop() {
loading.value = true;
try {
await refetch();
await sleep(200);
const timestamp = new Date().getTime();
if (!walletClient.value) {
await connect({ connector: connectors.value[0] });
await sleep(200);
if (!walletClient.value) {
message.error('Could not connect with your wallet.');
Expand Down
2 changes: 1 addition & 1 deletion frontend/pages/share.vue
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ function transactionLink(transactionHash?: string | null): string {
<Btn
v-if="query?.nftId && nftId"
size="large"
class="!text-black mb-6"
class="!text-black mb-6 mobile:hidden"
@click="watchAsset(nftId)"
>
Import NFT to wallet
Expand Down

0 comments on commit ed7738d

Please sign in to comment.