Skip to content

Commit

Permalink
fix: resolve comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Bedon committed Jun 13, 2024
1 parent 32d0f75 commit 71b9349
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 13 deletions.
12 changes: 5 additions & 7 deletions src/components/Thanks/WhatIsNextTemplate.vue
Original file line number Diff line number Diff line change
Expand Up @@ -150,15 +150,14 @@
Go to my kiva
</kv-button>
</div>
<!-- eslint-disable-next-line max-len -->
<div
v-if="!optedIn && isGuest"
class="
tw-w-full tw-border tw-rounded
tw-flex tw-justify-between tw-cursor-pointer
tw-py-2 tw-px-3
"
@click="openCreateAccount = !openCreateAccount"
@click="() => openCreateAccount = !openCreateAccount"
v-kv-track-event="[
'thanks',
'click',
Expand Down Expand Up @@ -199,7 +198,7 @@
tw-flex tw-justify-between tw-cursor-pointer
tw-py-2 tw-px-3
"
@click="openOrderConfirmation = !openOrderConfirmation"
@click="() => openOrderConfirmation = !openOrderConfirmation"
v-kv-track-event="[
'thanks',
'click',
Expand Down Expand Up @@ -235,7 +234,7 @@
tw-flex tw-justify-between tw-cursor-pointer
tw-py-2 tw-px-3
"
@click="openShareModule = !openShareModule"
@click="() => openShareModule = !openShareModule"
v-kv-track-event="[
'thanks',
'click',
Expand Down Expand Up @@ -319,7 +318,7 @@ export default {
},
loans: {
type: Array,
default: () => []
default: () => ([])
},
receipt: {
type: Object,
Expand Down Expand Up @@ -459,9 +458,8 @@ export default {
.borrower-image {
width: 150px;
position: absolute;
box-shadow: '0px 4.42px 22.1px 0px #D1DCD6';
@apply tw-w-full tw-rounded-full tw-bg-black tw-border-4 tw-border-white tw-z-2;
@apply tw-absolute tw-w-full tw-rounded-full tw-bg-black tw-border-4 tw-border-white tw-z-2;
}
.borrower-image >>> img.tw-object-contain {
Expand Down
6 changes: 0 additions & 6 deletions src/graphql/query/thanksPage.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,6 @@ query checkoutReceipt($checkoutId: Int!, $visitorId: String) {
unreservedAmount @client
inPfp
gender
... on LoanDirect {
disbursalDate
}
... on LoanPartner {
disbursalDate
}
}
team {
id
Expand Down

0 comments on commit 71b9349

Please sign in to comment.