diff --git a/src/components/PositionDetails/PositionDetails.tsx b/src/components/PositionDetails/PositionDetails.tsx index 8718b8bbc..f1b2ef69a 100644 --- a/src/components/PositionDetails/PositionDetails.tsx +++ b/src/components/PositionDetails/PositionDetails.tsx @@ -111,20 +111,6 @@ const PositionDetails: React.FC = ({ alignItems='flex-end' className={classes.right} wrap='nowrap'> - - - = ({ className={classes.button} variant='contained' onClick={() => { - history.push('/newPosition') + const parsedFee = parseFeeToPathFee(fee.v) + const address1 = addressToTicker(tokenXAddress.toString()) + const address2 = addressToTicker(tokenYAddress.toString()) + + history.push(`/newPosition/${address1}/${address2}/${parsedFee}`) }}> + Add Liquidity