diff --git a/frontend/src/components/TransactionLinks/TransactionLink.spec.js b/frontend/src/components/TransactionLinks/TransactionLink.spec.js index 2988f2026..b2d8f6f54 100644 --- a/frontend/src/components/TransactionLinks/TransactionLink.spec.js +++ b/frontend/src/components/TransactionLinks/TransactionLink.spec.js @@ -22,7 +22,6 @@ const mocks = { const propsData = { amount: '75', - code: 'c00000000c000000c0000', link: 'http://localhost/redeem/c00000000c000000c0000', holdAvailableAmount: '5.13109484759482747111', id: 12, diff --git a/frontend/src/components/TransactionLinks/TransactionLink.vue b/frontend/src/components/TransactionLinks/TransactionLink.vue index 29cadc1b0..63e610b26 100644 --- a/frontend/src/components/TransactionLinks/TransactionLink.vue +++ b/frontend/src/components/TransactionLinks/TransactionLink.vue @@ -74,7 +74,6 @@ export default { }, props: { amount: { type: String, required: true }, - code: { type: String, required: true }, link: { type: String, required: true }, holdAvailableAmount: { type: String, required: true }, id: { type: Number, required: true }, @@ -116,9 +115,6 @@ export default { decay() { return `${this.amount - this.holdAvailableAmount}` }, - link() { - return `${window.location.origin}/redeem/${this.code}` - }, }, }