Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RustemYuzlibaev committed Mar 1, 2023
1 parent 1b848dc commit 18af1f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
5 changes: 2 additions & 3 deletions src/components/SoraCard/SoraCardKYC.vue
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,7 @@ export default class SoraCardKYC extends Mixins(TranslationMixin, mixins.Loading
if (state.showBanner) {
// user has KYC finished, show info banner
const withoutCheck = true;
this.$emit('go-to-start', withoutCheck);
this.$emit('go-to-start');
}
}
Expand All @@ -119,7 +118,7 @@ export default class SoraCardKYC extends Mixins(TranslationMixin, mixins.Loading
}
redirectToView(success: boolean): void {
success ? this.$emit('go-to-start', success) : (this.step = KycProcess.RoadMap);
success ? this.$emit('go-to-start') : (this.step = KycProcess.RoadMap);
}
mounted(): void {
Expand Down
7 changes: 1 addition & 6 deletions src/views/SoraCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,7 @@ export default class SoraCardIntroPage extends Mixins(mixins.LoadingMixin, Subsc
this.step = Step.KYC;
}
openStartPage(withoutCheck: boolean): void {
if (withoutCheck) {
this.step = Step.ConfirmationInfo;
return;
}
openStartPage(): void {
this.checkKyc();
}
Expand Down

0 comments on commit 18af1f3

Please sign in to comment.