+
{actionOptions.map(({ key, label }) => (
))}
@@ -665,3 +684,18 @@ const AssetActionsDropdown: FunctionComponent<{
);
};
+
+const getIconId = (key: string): SpriteIconId => {
+ switch (key) {
+ case "deposit":
+ return "deposit";
+ case "withdraw":
+ return "withdraw";
+ case "trade":
+ return "arrows-swap";
+ case "earn":
+ return "chart-up";
+ default:
+ return "dots-three-vertical"; // fallback icon
+ }
+};
diff --git a/packages/web/localizations/en.json b/packages/web/localizations/en.json
index efe4865831..bf4db2fb37 100644
--- a/packages/web/localizations/en.json
+++ b/packages/web/localizations/en.json
@@ -290,7 +290,8 @@
"trade": "Trade",
"earn": "Earn",
"deposit": "Deposit",
- "withdraw": "Withdraw"
+ "withdraw": "Withdraw",
+ "convert": "Convert"
},
"buyTokens": "Buy tokens",
"components": {
diff --git a/packages/web/public/icons/sprite.svg b/packages/web/public/icons/sprite.svg
index 23ae925294..4e1a52476a 100644
--- a/packages/web/public/icons/sprite.svg
+++ b/packages/web/public/icons/sprite.svg
@@ -1598,5 +1598,8 @@
+
+
+