Skip to content

Commit f88f6c9

Browse files
committed
feat: added alert for Plasma market txhistory
1 parent d4a21bd commit f88f6c9

File tree

6 files changed

+18
-6
lines changed

6 files changed

+18
-6
lines changed

src/locales/el/messages.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/locales/en/messages.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/locales/en/messages.po

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1725,6 +1725,10 @@ msgstr "This action will reduce V2 health factor below liquidation threshold. re
17251725
msgid "{currentMethod}"
17261726
msgstr "{currentMethod}"
17271727

1728+
#: src/modules/history/HistoryWrapper.tsx
1729+
msgid "Transaction history for Plasma not supported yet, coming soon"
1730+
msgstr "Transaction history for Plasma not supported yet, coming soon"
1731+
17281732
#: src/modules/bridge/BridgeTransactionListItem.tsx
17291733
msgid "View TX"
17301734
msgstr "View TX"
@@ -2529,7 +2533,6 @@ msgstr "Staking Rewards"
25292533
msgid "Bridge GHO"
25302534
msgstr "Bridge GHO"
25312535

2532-
#: src/modules/history/HistoryWrapper.tsx
25332536
#: src/modules/history/HistoryWrapperMobile.tsx
25342537
msgid "No transactions yet."
25352538
msgstr "No transactions yet."
@@ -3485,6 +3488,10 @@ msgstr "These assets are temporarily frozen or paused by Aave community decision
34853488
msgid "Your proposition power is based on your AAVE/stkAAVE balance and received delegations."
34863489
msgstr "Your proposition power is based on your AAVE/stkAAVE balance and received delegations."
34873490

3491+
#: src/modules/history/HistoryWrapper.tsx
3492+
msgid "No transactions yet"
3493+
msgstr "No transactions yet"
3494+
34883495
#: src/modules/bridge/BridgeWrapper.tsx
34893496
msgid "You don't have any bridge transactions"
34903497
msgstr "You don't have any bridge transactions"

src/locales/es/messages.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/locales/fr/messages.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/modules/history/HistoryWrapper.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ export const HistoryWrapper = () => {
3333

3434
const isFilterActive = searchQuery.length > 0 || filterQuery.length > 0;
3535
const trackEvent = useRootStore((store) => store.trackEvent);
36+
const currentMarket = useRootStore((store) => store.currentMarket);
3637

3738
const {
3839
data: transactions,
@@ -259,7 +260,11 @@ export const HistoryWrapper = () => {
259260
}}
260261
>
261262
<Typography sx={{ my: 24 }} variant="h3" color="text.primary">
262-
<Trans>No transactions yet.</Trans>
263+
{currentMarket === 'proto_plasma_v3' ? (
264+
<Trans>Transaction history for Plasma not supported yet, coming soon</Trans>
265+
) : (
266+
<Trans>No transactions yet</Trans>
267+
)}
263268
</Typography>
264269
</Box>
265270
) : (

0 commit comments

Comments
 (0)