Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TAS-2568]🐛 Fix login issue on claimed book pages #1941

Merged
merged 2 commits into from
Nov 8, 2024

Conversation

AuroraHuang22
Copy link
Contributor

@AuroraHuang22 AuroraHuang22 commented Nov 7, 2024

Before
截圖 2024-11-07 晚上8 56 21
After
截圖 2024-11-07 晚上8 55 54

@AuroraHuang22 AuroraHuang22 changed the title 🐛 Fix login issue on claimed book pages [TAS-2568]🐛 Fix login issue on claimed book pages Nov 7, 2024
Copy link

Comment on lines +1346 to +1347
this.isLoginLoading = true;
await this.connectWallet();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wrap in try finally?

Comment on lines 547 to 557
<div v-else>
<ProgressIndicator v-if="isLoginLoading" />
<ButtonV2
v-else
:content-class="['px-[48px]']"
class="phoneLg:w-full phoneLg:max-w-[480px]"
preset="tertiary"
:text="$t('nft_claim_claimed_button_view_collection_sign_in')"
@click="handleClickSignIn"
/>
</div>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<div v-else>
<ProgressIndicator v-if="isLoginLoading" />
<ButtonV2
v-else
:content-class="['px-[48px]']"
class="phoneLg:w-full phoneLg:max-w-[480px]"
preset="tertiary"
:text="$t('nft_claim_claimed_button_view_collection_sign_in')"
@click="handleClickSignIn"
/>
</div>
<ProgressIndicator v-else-if="isLoginLoading" />
<ButtonV2
v-else
:content-class="['px-[48px]']"
class="phoneLg:w-full phoneLg:max-w-[480px]"
preset="tertiary"
:text="$t('nft_claim_claimed_button_view_collection_sign_in')"
@click="handleClickSignIn"
/>

@williamchong williamchong merged commit 7f2a92f into likecoin:develop Nov 8, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants