diff --git a/src/components/sidebar/promo.tsx b/src/components/sidebar/promo.tsx index 44dd98a3..d23993b9 100644 --- a/src/components/sidebar/promo.tsx +++ b/src/components/sidebar/promo.tsx @@ -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 (