diff --git a/projects/ui/src/util/Actions.ts b/projects/ui/src/util/Actions.ts index 00b33ed133..03bf8ac7c7 100644 --- a/projects/ui/src/util/Actions.ts +++ b/projects/ui/src/util/Actions.ts @@ -4,7 +4,7 @@ import { FarmFromMode, FarmToMode } from '@beanstalk/sdk'; import Token from '~/classes/Token'; import { displayFullBN, displayTokenAmount } from '~/util/Tokens'; import copy from '~/constants/copy'; -import { BEAN, PODS, SPROUTS } from '../constants/tokens'; +import { BEAN, PODS, SPROUTS, CRV3 } from '../constants/tokens'; import { displayBN, trimAddress } from './index'; export enum ActionType { @@ -280,13 +280,13 @@ export const parseActionMessage = (a: Action) => { case ActionType.END_TOKEN: return null; case ActionType.SWAP: - if (a.tokenOut.isLP && !a.tokenOut.isUnripe) { + if (a.tokenOut.isLP && a.tokenOut.symbol !== CRV3[1].symbol && !a.tokenOut.isUnripe) { return `Add ${displayTokenAmount( a.amountIn, a.tokenIn )} of liquidity for ${displayTokenAmount(a.amountOut, a.tokenOut)}.`; } - if (a.tokenIn.isLP && !a.tokenIn.isUnripe) { + if (a.tokenIn.isLP && a.tokenIn.symbol !== CRV3[1].symbol && !a.tokenIn.isUnripe) { return `Burn ${displayTokenAmount( a.amountIn, a.tokenIn