diff --git a/app/components/views/PKlima/index.tsx b/app/components/views/PKlima/index.tsx index 9742bd15bb..5829c38d8c 100644 --- a/app/components/views/PKlima/index.tsx +++ b/app/components/views/PKlima/index.tsx @@ -138,16 +138,17 @@ export const PKlima: FC = (props) => { const hasApproval = (token: "pklima" | "bct") => { const value = Number(quantity || "0"); - if (token === "pklima") + if (token === "pklima") { return ( !!exerciseAllowances && !!Number(exerciseAllowances.pklima) && - Number(exerciseAllowances.pklima) > value + Number(exerciseAllowances.pklima) >= value ); + } return ( !!exerciseAllowances && !!Number(exerciseAllowances.bct) && - Number(exerciseAllowances.bct) > value + Number(exerciseAllowances.bct) >= value ); };