Skip to content

Commit

Permalink
Made it so our ads do not show up on all pages. Just the dashboard.
Browse files Browse the repository at this point in the history
  • Loading branch information
Spicer Matthews committed Mar 14, 2024
1 parent b209a2f commit fea6ffd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ import UpdateImpactMutation from 'src/utils/mutations/UpdateImpactMutation'
import SetHasViewedIntroFlowMutation from 'src/utils/mutations/SetHasViewedIntroFlowMutation'
import { incrementTabsOpenedToday } from 'src/utils/adHelpers'
import { isClientSide } from 'src/utils/ssr'
import { aboutURL, accountURL, achievementsURL } from 'src/utils/urls'
import { aboutURL, achievementsURL } from 'src/utils/urls'
import {
showMockAchievements,
showBackgroundImages,
Expand Down Expand Up @@ -808,7 +808,7 @@ const Index = ({ data: fallbackData, userAgent }) => {
}
/>
) : (
<Link to={aboutURL}>
<a href="/newtab/about">
<IconButton>
<InfoIcon
className={clsx(
Expand All @@ -817,7 +817,7 @@ const Index = ({ data: fallbackData, userAgent }) => {
)}
/>
</IconButton>
</Link>
</a>
)}
<div className={classes.moneyRaisedContainer}>
<Typography
Expand All @@ -831,7 +831,7 @@ const Index = ({ data: fallbackData, userAgent }) => {
</Typography>
</div>
<div className={classes.settingsIconContainer}>
<Link to={accountURL}>
<a href="/newtab/account">
<IconButton>
<SettingsIcon
className={clsx(
Expand All @@ -840,7 +840,7 @@ const Index = ({ data: fallbackData, userAgent }) => {
)}
/>
</IconButton>
</Link>
</a>
</div>
</div>
</div>
Expand Down

0 comments on commit fea6ffd

Please sign in to comment.