🚨 Fixes warnings from DeepScan

This commit is contained in:
Alicia Sykes 2022-01-19 00:06:09 +00:00
parent b3dcc5e43f
commit ea3ffa5d36
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@
<div class="percentage-chart" :style="makeWrapperStyles(height)">
<div
v-for="(block, inx) in blocks" :key="inx"
class="inner" :style="makeDimens(block, inx)"
class="inner" :style="makeDimens(block)"
v-tooltip="`${block.label} - ${block.width}%`"
></div>
</div>

View File

@ -96,7 +96,7 @@ export default {
final: formatAmount(data.final_balance),
totalSent: formatAmount(data.total_sent),
totalReceived: formatAmount(data.total_received),
lastTransaction: data.txrefs ? getTimeAgo(data.txrefs[0].confirmed) : 'Never',
lastTransaction: data.txrefs[0] ? getTimeAgo(data.txrefs[0].confirmed) : 'Never',
};
const transactions = [];
data.txrefs.forEach((transaction) => {