From 43b4b30415dcac1e67342a1ac6cb3619fa310fc7 Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner Date: Wed, 10 Sep 2025 14:44:38 +0200 Subject: [PATCH] cleanup: Remove debug information from ScriptsGrid component --- src/app/_components/ScriptsGrid.tsx | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/app/_components/ScriptsGrid.tsx b/src/app/_components/ScriptsGrid.tsx index 4326153..d6935c4 100644 --- a/src/app/_components/ScriptsGrid.tsx +++ b/src/app/_components/ScriptsGrid.tsx @@ -17,7 +17,6 @@ export function ScriptsGrid() { ); const handleCardClick = (scriptCard: ScriptCardType) => { - console.log('Card clicked:', scriptCard); setSelectedSlug(scriptCard.slug); setIsModalOpen(true); }; @@ -97,16 +96,6 @@ export function ScriptsGrid() { isOpen={isModalOpen} onClose={handleCloseModal} /> - - {/* Debug info */} - {process.env.NODE_ENV === 'development' && ( -
-
Selected Slug: {selectedSlug}
-
Modal Open: {isModalOpen.toString()}
-
Script Data Success: {scriptData?.success?.toString()}
-
Script Data: {JSON.stringify(scriptData, null, 2)}
-
- )} ); }