Skip to content

Commit 4feab45

Browse files
committed
chore: lint
1 parent 6b9d96d commit 4feab45

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/views/components/account-balance-history/account-balance-history.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export default function AccountBalanceHistory({
3333
])
3434

3535
let balance_data_usd = []
36-
let balance_data_usd_price = []
36+
const balance_data_usd_price = []
3737
if (balance_history.length > 0) {
3838
const min_date_entry = balance_history[0]
3939
const max_date_entry = balance_history[balance_history.length - 1]
@@ -120,7 +120,7 @@ export default function AccountBalanceHistory({
120120
},
121121
formatter: (params) => {
122122
// The datetime where the axisPointer is
123-
var x_time = new Date(params[0].axisValue)
123+
const x_time = new Date(params[0].axisValue)
124124

125125
let tooltip = `<p>${x_time.toDateString()}</p> `
126126
series.forEach((serie) => {

0 commit comments

Comments
 (0)