Skip to content

Commit b336e02

Browse files
committed
fix: new banner needs to use poolIdOrAddress
1 parent ac0a79e commit b336e02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/main/src/dex/components/MonadBannerAlert.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Banner } from '@ui-kit/shared/ui/Banner'
44
import { PoolUrlParams } from '../types/main.types'
55

66
const MonadBannerAlert = ({ params }: { params: PoolUrlParams }) => {
7-
const showFactoryStableNg11Banner = params.pool === 'factory-stable-ng-11' && params.network === 'monad'
7+
const showFactoryStableNg11Banner = params.poolIdOrAddress === 'factory-stable-ng-11' && params.network === 'monad'
88

99
if (showFactoryStableNg11Banner)
1010
return (

0 commit comments

Comments
 (0)