diff --git a/frontend/components/MainPage/header/AgentButton/AgentNotRunningButton.tsx b/frontend/components/MainPage/header/AgentButton/AgentNotRunningButton.tsx index c21469ff2..8c5d4021c 100644 --- a/frontend/components/MainPage/header/AgentButton/AgentNotRunningButton.tsx +++ b/frontend/components/MainPage/header/AgentButton/AgentNotRunningButton.tsx @@ -108,8 +108,9 @@ export const AgentNotRunningButton = () => { !isNil(hasEnoughServiceSlots) && !hasEnoughServiceSlots && !isServiceStaked - ) + ) { return false; + } const masterSafeOlasBalance = masterSafeBalances?.find( (walletBalanceResult) => diff --git a/frontend/components/MainPage/sections/RewardsSection/StakingRewardsThisEpoch.tsx b/frontend/components/MainPage/sections/RewardsSection/StakingRewardsThisEpoch.tsx index 74165493f..d88812f1f 100644 --- a/frontend/components/MainPage/sections/RewardsSection/StakingRewardsThisEpoch.tsx +++ b/frontend/components/MainPage/sections/RewardsSection/StakingRewardsThisEpoch.tsx @@ -53,12 +53,15 @@ export const StakingRewardsThisEpoch = () => { const popoverContent = useMemo(() => { if (!isActiveStakingProgramLoaded) return ; - if (!activeStakingProgramMeta) + + if (!activeStakingProgramMeta) { return (
You're not yet in a staking program!
); + } + return (
The epoch for {stakingProgramMeta?.name} ends each day at ~{' '}