From 130e381054feaa7b030abccc2546ae1f41dfc629 Mon Sep 17 00:00:00 2001
From: Kamran Ahmed <kamranahmed.se@gmail.com>
Date: Mon, 14 Apr 2025 18:14:47 +0100
Subject: [PATCH] Remove testing from course demo

---
 src/components/SQLCourse/BuyButton.tsx | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/components/SQLCourse/BuyButton.tsx b/src/components/SQLCourse/BuyButton.tsx
index 6071e18da..9112319d8 100644
--- a/src/components/SQLCourse/BuyButton.tsx
+++ b/src/components/SQLCourse/BuyButton.tsx
@@ -43,8 +43,6 @@ export function BuyButton(props: BuyButtonProps) {
   const [isVideoModalOpen, setIsVideoModalOpen] = useState(false);
   const toast = useToast();
 
-  const isTesting = getUrlParams()['testing'] === '1';
-
   const { data: coursePricing, isLoading: isLoadingPrice } = useQuery(
     coursePriceOptions({ courseSlug: SQL_COURSE_SLUG }),
     queryClient,
@@ -257,7 +255,7 @@ export function BuyButton(props: BuyButtonProps) {
               'group relative hidden items-center justify-center overflow-hidden rounded-xl border border-yellow-500/30 bg-transparent px-6 py-3 text-base font-medium text-yellow-500 transition-all duration-300 ease-out hover:bg-yellow-500/10 focus:outline-hidden active:ring-0 md:rounded-full',
               {
                 'hidden lg:inline-flex':
-                  isTesting && !isLoadingPricing && !isAlreadyEnrolled,
+                  !isLoadingPricing && !isAlreadyEnrolled,
               },
             )}
           >