File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/views/components/account-balance-history Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ export default function AccountBalanceHistory({
33
33
] )
34
34
35
35
let balance_data_usd = [ ]
36
- let balance_data_usd_price = [ ]
36
+ const balance_data_usd_price = [ ]
37
37
if ( balance_history . length > 0 ) {
38
38
const min_date_entry = balance_history [ 0 ]
39
39
const max_date_entry = balance_history [ balance_history . length - 1 ]
@@ -120,7 +120,7 @@ export default function AccountBalanceHistory({
120
120
} ,
121
121
formatter : ( params ) => {
122
122
// The datetime where the axisPointer is
123
- var x_time = new Date ( params [ 0 ] . axisValue )
123
+ const x_time = new Date ( params [ 0 ] . axisValue )
124
124
125
125
let tooltip = `<p>${ x_time . toDateString ( ) } </p> `
126
126
series . forEach ( ( serie ) => {
You can’t perform that action at this time.
0 commit comments