diff --git a/components/brave_rewards/resources/ui/components/adsBox.tsx b/components/brave_rewards/resources/ui/components/adsBox.tsx index 5d128d544cfd..f6a9fa0a7a6b 100644 --- a/components/brave_rewards/resources/ui/components/adsBox.tsx +++ b/components/brave_rewards/resources/ui/components/adsBox.tsx @@ -90,21 +90,23 @@ class AdsBox extends React.Component { render () { let adsEnabled = false let adsUIEnabled = false - const { adsData } = this.props.rewardsData + const { adsData, enabledMain } = this.props.rewardsData if (adsData) { adsEnabled = adsData.adsEnabled adsUIEnabled = adsData.adsUIEnabled } + const toggle = !(!enabledMain || !adsUIEnabled) + return (