diff --git a/components/NonFarmedAssets/index.tsx b/components/NonFarmedAssets/index.tsx index 633312b8..fd9394b8 100644 --- a/components/NonFarmedAssets/index.tsx +++ b/components/NonFarmedAssets/index.tsx @@ -10,25 +10,46 @@ function NonFarmedAssets() { } = useNonFarmedAssets(true); const main_null = !hasNonFarmedAssets || hasNegativeNetLiquidity; const meme_null = !hasNonFarmedAssetsMEME || hasNegativeNetLiquidityMEME; - if (main_null && meme_null) return null; - return ( -
-
- -
- At least one of your farms in the {main_null ? "meme" : "Mainstream"} has started emitting - extra rewards. If you are seeing this warning, please click ‘Claim & Join’ to join the new - farm. + + if (!main_null) { + return ( +
+
+ +
+ At least one of your farms in the Mainstream has started emitting extra rewards. If you + are seeing this warning, please click ‘Claim & Join’ to join the new farm. +
+
- -
- ); + ); + } else if (meme_null) { + return ( +
+
+ +
+ At least one of your farms in the meme has started emitting extra rewards. If you are + seeing this warning, please click ‘Claim & Join’ to join the new farm. +
+
+ +
+ ); + } + + return null; } const ClaimButton = (props) => {