File tree Expand file tree Collapse file tree 3 files changed +29
-31
lines changed Expand file tree Collapse file tree 3 files changed +29
-31
lines changed Original file line number Diff line number Diff line change 187
187
"alias" : " KuCoin Hot Wallet #2" ,
188
188
"account" : " nano_3iypqe87d399qnsgejk6jx11u334ep77ipgsrtg9zi31onpz9a4yfypjxnau"
189
189
},
190
+ {
191
+ "alias" : " KuCoin Hot Wallet #3" ,
192
+ "account" : " nano_3kc4zij11m87u6rs1kx3c4xrajufrw45b9nawruxu3t7yfcxcaui9r9gpqqg"
193
+ },
190
194
{
191
195
"alias" : " ViNo Gateway to Vite" ,
192
196
"account" : " nano_15fuam43az5zsnpitsire35ag9bj4w8eb1b8utioc5qoog8fuyygx9d8hqcc"
193
197
},
194
198
{
195
- "alias" : " Cwalet .com Hot wallet" ,
199
+ "alias" : " Cwallet .com Hot wallet" ,
196
200
"account" : " nano_3ftkrm3gb1ko1ko6bpsmaq9q1enesorjqdug9e64u54jsr5g6cbh1snb8aur"
197
201
},
198
202
{
Original file line number Diff line number Diff line change 35
35
"name" : " KuCoin Hot Wallet #2" ,
36
36
"account" : " nano_3iypqe87d399qnsgejk6jx11u334ep77ipgsrtg9zi31onpz9a4yfypjxnau"
37
37
},
38
+ {
39
+ "name" : " KuCoin Hot Wallet #3" ,
40
+ "account" : " nano_3kc4zij11m87u6rs1kx3c4xrajufrw45b9nawruxu3t7yfcxcaui9r9gpqqg"
41
+ },
38
42
{
39
43
"name" : " KuCoin Cold Wallet" ,
40
44
"account" : " nano_1c3nz77f3t5bz346je4bwtcfxgfnp6habs9to4utfeuhjfpxdhkd593kn5gn"
91
95
"name" : " CoinEx Cold Wallet #1" ,
92
96
"account" : " nano_3h9633hp5ox5ejsmcip7mnm9ej5g8wppyig8ckzcgwus9p4bezoogwystb99"
93
97
},
94
- {
98
+ {
95
99
"name" : " CoinEx Cold Wallet #2" ,
96
100
"account" : " nano_3aknpqaajsexriisrs3srzzr6cpw3y1cunwt4mxzagn8dg14xa9e5i3uaasd"
97
101
},
102
106
{
103
107
"name" : " ChangeNow.io" ,
104
108
"account" : " nano_1ed95h4er3wotpjksn1aemq3m1y5677qfzi9be6zumkjo3wxw5oy7j8zm6mo"
105
- },
109
+ },
106
110
{
107
111
"name" : " HitBTC Hot Wallet" ,
108
112
"account" : " nano_1td9t7i3dj6xayhzf9t6xndqfj34crunefmig1fbxf9wna56eincgwm1tzi7"
Original file line number Diff line number Diff line change @@ -43,13 +43,6 @@ const HomePage = () => {
43
43
const { availableSupply } = useAvailableSupply ( ) ;
44
44
const { fiat } = React . useContext ( PreferencesContext ) ;
45
45
46
- // Get the current URL
47
- const currentUrl = window . location . href ;
48
-
49
- // Create URLSearchParams object
50
- const urlParams = new URLSearchParams ( new URL ( currentUrl ) . search ) ;
51
-
52
- let isFeatureActive = urlParams . get ( "7d" ) ;
53
46
const {
54
47
marketStatistics,
55
48
isInitialLoading : isMarketStatisticsInitialLoading ,
@@ -262,28 +255,25 @@ const HomePage = () => {
262
255
< Card
263
256
size = "small"
264
257
title = {
265
- isFeatureActive ? (
266
- < >
267
- < Select
268
- value = { is24Hours }
269
- onChange = { ( value : boolean ) => {
270
- console . log ( "~~~value" , value ) ;
271
- setIs24Hours ( value ) ;
272
- } }
258
+ < >
259
+ < Select
260
+ value = { is24Hours }
261
+ onChange = { ( value : boolean ) => {
262
+ setIs24Hours ( value ) ;
263
+ } }
264
+ >
265
+ < Option value = { true } > { t ( "pages.home.last24Hours" ) } </ Option >
266
+ < Option value = { false } > { t ( "pages.home.last7Days" ) } </ Option >
267
+ </ Select >
268
+ < span >
269
+ < Tooltip
270
+ placement = "right"
271
+ title = { is24Hours ? t ( "tooltips.last24Hours" ) : t ( "tooltips.last7days" ) }
273
272
>
274
- < Option value = { true } > { t ( "pages.home.last24Hours" ) } </ Option >
275
- < Option value = { false } > { t ( "pages.home.last7Days" ) } </ Option >
276
- </ Select >
277
- < span >
278
- < Tooltip
279
- placement = "right"
280
- title = { is24Hours ? t ( "tooltips.last24Hours" ) : t ( "tooltips.last7days" ) }
281
- >
282
- < QuestionCircle />
283
- </ Tooltip >
284
- </ span >
285
- </ >
286
- ) : null
273
+ < QuestionCircle />
274
+ </ Tooltip >
275
+ </ span >
276
+ </ >
287
277
}
288
278
>
289
279
< Row gutter = { 6 } >
You can’t perform that action at this time.
0 commit comments