Skip to content

Commit

Permalink
Revert "fix promo not updating" (#474)
Browse files Browse the repository at this point in the history
This reverts commit 5b1f258.
  • Loading branch information
jharrell authored May 23, 2024
1 parent 5b1f258 commit e70fd59
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/sidebar/promo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,9 @@ const promoOptions: PromoOptions = [
},
]

let promo = promoOptions[Math.floor(Math.random() * promoOptions.length)]

export const Promo = () => {
const promo = promoOptions[Math.floor(Math.random() * promoOptions.length)]
return (
<PromoLink
className={`sidebar-promo sidebar-promo-${promo.color}`}
Expand Down

0 comments on commit e70fd59

Please sign in to comment.