- {totalReceive} {outputToken?.stellarAsset.code.string}
+ {totalReceive} {toTokenSymbol}
is what you will receive, after fees
diff --git a/src/components/InputKeys/PoolListItem/index.tsx b/src/components/InputKeys/PoolListItem/index.tsx
index 02fa83e5..19ecf805 100644
--- a/src/components/InputKeys/PoolListItem/index.tsx
+++ b/src/components/InputKeys/PoolListItem/index.tsx
@@ -1,6 +1,6 @@
import { Avatar, AvatarProps, Button } from 'react-daisyui';
import { CheckIcon } from '@heroicons/react/20/solid';
-import { useGetIcon } from '../../../hooks/useGetIcon';
+import { AssetIconType, useGetIcon } from '../../../hooks/useGetIcon';
import { InputTokenType, OutputTokenType } from '../../../constants/tokenConfig';
interface PoolListItemProps
{
@@ -8,6 +8,7 @@ interface PoolListItemProps {
tokenSymbol: string;
isSelected?: boolean;
onSelect: (tokenType: T) => void;
+ assetIcon: AssetIconType;
}
export function PoolListItem({
@@ -15,8 +16,9 @@ export function PoolListItem({
tokenSymbol,
isSelected,
onSelect,
+ assetIcon,
}: PoolListItemProps) {
- const tokenIcon = useGetIcon(tokenType);
+ const tokenIcon = useGetIcon(assetIcon);
return (