diff --git a/src/components/AssetSelectModal/AssetRow.tsx b/src/components/AssetSelectModal/AssetRow.tsx index bc6de53..e4948fe 100644 --- a/src/components/AssetSelectModal/AssetRow.tsx +++ b/src/components/AssetSelectModal/AssetRow.tsx @@ -15,7 +15,7 @@ type AssetRowProps = { export const AssetRow: FC = memo(({ onClick, ...asset }) => { const [imgLoaded, setImgLoaded] = useState(false) const { name, icon, symbol, id } = asset - const handleOnClick = useCallback(() => { + const handleClick = useCallback(() => { onClick(asset) }, [asset, onClick]) @@ -29,7 +29,7 @@ export const AssetRow: FC = memo(({ onClick, ...asset }) => {