From e70fd59fea82acdcc46420c0b24bcd5e0d6637e0 Mon Sep 17 00:00:00 2001 From: Jon Harrell <4829245+jharrell@users.noreply.github.com> Date: Thu, 23 May 2024 13:36:16 -0500 Subject: [PATCH] Revert "fix promo not updating" (#474) This reverts commit 5b1f258136566dde687162974efbd7a374cc3297. --- src/components/sidebar/promo.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 (