From d73e710bbe5d97de4e137a0153e7ad5c7ec0bcf5 Mon Sep 17 00:00:00 2001 From: Darya Kaviani Date: Fri, 15 Jul 2022 23:11:49 -0700 Subject: [PATCH] null unitokenid --- packages/frontend/src/state/lp/hooks.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/frontend/src/state/lp/hooks.ts b/packages/frontend/src/state/lp/hooks.ts index a973919d9..c46459b86 100644 --- a/packages/frontend/src/state/lp/hooks.ts +++ b/packages/frontend/src/state/lp/hooks.ts @@ -142,7 +142,8 @@ export const useCollectFees = () => { !controllerHelperContract || !address || !vaultBefore || - !vaultBefore.shortAmount + !vaultBefore.shortAmount || + !uniTokenId ) return