Skip to content

Commit ac4863e

Browse files
AGMASOCopilot
andauthored
feat: added alert for Plasma market txhistory (#2714)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent c16792a commit ac4863e

6 files changed

Lines changed: 14 additions & 5 deletions

File tree

‎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: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2896,6 +2896,10 @@ msgstr "Safety Module"
28962896
msgid "Estimated weekly rewards based on your current sGHO balance and APR. Actual rewards may vary depending on market conditions."
28972897
msgstr "Estimated weekly rewards based on your current sGHO balance and APR. Actual rewards may vary depending on market conditions."
28982898

2899+
#: src/modules/history/HistoryWrapper.tsx
2900+
msgid "Transaction history for Plasma not supported yet, coming soon."
2901+
msgstr "Transaction history for Plasma not supported yet, coming soon."
2902+
28992903
#: src/modules/dashboard/lists/SlippageList.tsx
29002904
msgid "Select slippage tolerance"
29012905
msgstr "Select slippage tolerance"

‎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,
@@ -266,7 +267,11 @@ export const HistoryWrapper = () => {
266267
}}
267268
>
268269
<Typography sx={{ my: 24 }} variant="h3" color="text.primary">
269-
<Trans>No transactions yet.</Trans>
270+
{currentMarket === 'proto_plasma_v3' ? (
271+
<Trans>Transaction history for Plasma not supported yet, coming soon.</Trans>
272+
) : (
273+
<Trans>No transactions yet.</Trans>
274+
)}
270275
</Typography>
271276
</Box>
272277
) : (

0 commit comments

Comments
 (0)