Skip to content

Commit a50463a

Browse files
committed
feat: use pool address when clicking a pool in the new list
1 parent 8986a42 commit a50463a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/main/src/dex/features/pool-list/hooks/usePoolListData.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export function usePoolListData({ id: network, chainId, isLite }: NetworkConfig)
7878
tvl: tvlMapper?.[item.pool.id],
7979
hasPosition: userPoolList?.[item.pool.id],
8080
network,
81-
url: getPath({ network }, `${DEX_ROUTES.PAGE_POOLS}/${item.pool.id}/deposit`),
81+
url: getPath({ network }, `${DEX_ROUTES.PAGE_POOLS}/${item.pool.address}/deposit`),
8282
tags: getPoolTags(userPoolList?.[item.pool.id], item),
8383
}
8484
}),

0 commit comments

Comments
 (0)