Skip to content

Commit

Permalink
fix: flyover fast option link
Browse files Browse the repository at this point in the history
  • Loading branch information
annipi authored and ronaldsg20 committed Aug 7, 2024
1 parent 75f2993 commit 559bdcf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/pegin/components/create/PeginOptionCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
<div class="d-flex text-h3 ga-1 flex-wrap">
<span v-for="(word, i) in option.title.split(' ')" :key="i"
:class='`pa-2 bg-${option.subtitleColor}`'>
{{ word }}
<a :href="option.link" target="_blank" rel="noopener">
{{ word }}
</a>
</span>
</div>
</v-col>
Expand Down Expand Up @@ -115,7 +117,7 @@ export default defineComponent({
FLYOVER: {
title: 'Faster Option',
subtitleColor: 'orange',
link: 'https://dev.rootstock.io/guides/flyover/',
link: 'https://dev.rootstock.io/concepts/rif-suite/#meet-the-suite',
estimatedTime: () => blockConfirmationsToTimeString(quote.value?.confirmations ?? 0, 'btc'),
amountToTransfer: () => quote.value?.value
.plus(quoteFee.value).plus(selectedFee.value) ?? new SatoshiBig('0', 'btc'),
Expand Down
2 changes: 1 addition & 1 deletion src/pegout/components/PegoutOption.vue
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ export default defineComponent({
return {
title: 'Faster Option',
subtitleBgColor: 'orange',
link: 'https://dev.rootstock.io/guides/flyover/',
link: 'https://dev.rootstock.io/concepts/rif-suite/#meet-the-suite',
};
}
return {
Expand Down

0 comments on commit 559bdcf

Please sign in to comment.