Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Commit 24443fc

Browse files
committed
update chart init
1 parent b6bf5a8 commit 24443fc

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/botPage/view/View.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,6 @@ const addBalanceForToken = token => {
8989
});
9090
};
9191

92-
const chart = new Chart(api);
93-
9492
const tradingView = new TradingView();
9593

9694
const showRealityCheck = () => {
@@ -212,7 +210,9 @@ const updateTokenList = () => {
212210
$('.account-type').text(`${prefix}`);
213211
} else {
214212
$('.login-id-list').append(
215-
`<a href="#" value="${tokenInfo.token}"><li><span>${prefix}</span><div>${tokenInfo.accountName}</div></li></a><div class="separator-line-thin-gray"></div>`
213+
`<a href="#" value="${tokenInfo.token}"><li><span>${prefix}</span><div>${
214+
tokenInfo.accountName
215+
}</div></li></a><div class="separator-line-thin-gray"></div>`
216216
);
217217
}
218218
});
@@ -419,6 +419,7 @@ export default class View {
419419
});
420420

421421
$('#chartButton').click(() => {
422+
const chart = new Chart(api);
422423
chart.open();
423424
});
424425

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy