diff --git a/components/NonFarmedAssets/index.tsx b/components/NonFarmedAssets/index.tsx index 38819e54..ccb557fb 100644 --- a/components/NonFarmedAssets/index.tsx +++ b/components/NonFarmedAssets/index.tsx @@ -8,17 +8,17 @@ function NonFarmedAssets() { hasNonFarmedAssets: hasNonFarmedAssetsMEME, hasNegativeNetLiquidity: hasNegativeNetLiquidityMEME, } = useNonFarmedAssets(true); - const main_null = !hasNonFarmedAssets || hasNegativeNetLiquidity; - const meme_null = !hasNonFarmedAssetsMEME || hasNegativeNetLiquidityMEME; + // const main_null = !hasNonFarmedAssets || hasNegativeNetLiquidity; + // const meme_null = !hasNonFarmedAssetsMEME || hasNegativeNetLiquidityMEME; - if (!main_null) { + if (hasNonFarmedAssets === true || hasNegativeNetLiquidity === false) { 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. + are seeing this warning, please click 'Claim & Join' to join the new farm.
); - } else if (!meme_null) { + } else if (hasNonFarmedAssetsMEME === true || hasNegativeNetLiquidityMEME === false) { 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. + seeing this warning, please click 'Claim & Join' to join the new farm.