diff --git a/packages/web/components/table/asset-balances.tsx b/packages/web/components/table/asset-balances.tsx index 5a91a6f928..41d4b1709d 100644 --- a/packages/web/components/table/asset-balances.tsx +++ b/packages/web/components/table/asset-balances.tsx @@ -497,13 +497,13 @@ const getActionOptions = (t: MultiLanguageT, showConvertButton: boolean) => { return [ ...(showConvertButton ? [ - { key: "deposit", label: t("portfolio.deposit") }, - { key: "withdraw", label: t("portfolio.withdraw") }, + { key: "deposit", label: t("portfolio.deposit"), icon: "deposit" }, + { key: "withdraw", label: t("portfolio.withdraw"), icon: "withdraw" }, ] : []), - { key: "trade", label: t("portfolio.trade") }, - { key: "earn", label: t("portfolio.earn") }, - ] as Array<{ key: Action; label: string }>; + { key: "trade", label: t("portfolio.trade"), icon: "arrows-swap" }, + { key: "earn", label: t("portfolio.earn"), icon: "chart-up" }, + ] as Array<{ key: Action; label: string; icon: SpriteIconId }>; }; const handleSelectAction = ( @@ -642,6 +642,7 @@ const AssetActionsDropdown: FunctionComponent<{ actionOptions: { key: Action; label: string; + icon: SpriteIconId; }[]; onSelectAction: (key: Action) => void; }> = ({ actionOptions, onSelectAction }) => { @@ -656,7 +657,7 @@ const AssetActionsDropdown: FunctionComponent<{ {({ close }) => (
- {actionOptions.map(({ key, label }) => ( + {actionOptions.map(({ key, label, icon }) => (