From 250a1641a85ae6b15e44367320765145399708b6 Mon Sep 17 00:00:00 2001 From: eli-d <64763513+eli-d@users.noreply.github.com> Date: Mon, 13 Jan 2025 23:18:08 +1030 Subject: [PATCH] undo change to page that used string comparison --- web/src/app/stake/pool/withdraw-liquidity/page.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/web/src/app/stake/pool/withdraw-liquidity/page.tsx b/web/src/app/stake/pool/withdraw-liquidity/page.tsx index d6644e5c..9a5243cb 100644 --- a/web/src/app/stake/pool/withdraw-liquidity/page.tsx +++ b/web/src/app/stake/pool/withdraw-liquidity/page.tsx @@ -32,8 +32,7 @@ export default function WithdrawLiquidity() { const router = useRouter(); const params = useSearchParams(); - const positionId_ = params.get("positionId"); - const positionId = positionId_ ? Number(positionId_) : undefined; + const positionId = params.get("positionId"); const { address, chainId } = useAccount(); const expectedChainId = useChainId();