Skip to content

Commit 49cacb5

Browse files
committed
updated asset name
1 parent 6200bea commit 49cacb5

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

Frontend/src/pages/History/HistoryStats.jsx

-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ const HistoryStats = () => {
5151
</h2>
5252
) : (
5353
<>
54-
<Icon.Algo />
5554
<h2>
5655
{!isNaN(ticketSold) &&
5756
millify(ticketSold, {

Frontend/src/pages/Lotto/LottoDetails.jsx

+4
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ const LottoDetails = ({ data, phase, asset }) => {
3939
/>
4040
<p className="value">{data[key] / 1e6}</p>
4141
</div>
42+
) : key === "asset" ? (
43+
<p className="value">
44+
{asalist[Number(data.asset || asset || 0)]?.name}
45+
</p>
4246
) : key === "ticketingDuration" ? (
4347
<p className="value">{data[key] / 60 + " min"}</p>
4448
) : dateProperties.includes(key) ? (

Frontend/src/pages/Lotto/index.jsx

+1
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ const Lotto = () => {
121121
"ticketingStart",
122122
"ticketingDuration"
123123
),
124+
asset: data?.game_asset,
124125
}}
125126
asset={data?.game_asset}
126127
withdrawalStart={data?.withdrawalStart}

0 commit comments

Comments
 (0)