From f649eee8d2f333f4c5f4c722d21c18035f84ed1e Mon Sep 17 00:00:00 2001 From: sebastjanartic <45803536-sebastjanartic@users.noreply.replit.com> Date: Mon, 1 Sep 2025 21:49:29 +0000 Subject: [PATCH] Remove unnecessary console logs from multiple page components Remove console.log statements from FolxStadlPage, GeschichteLiedPage, and GipfelstammtischPage components. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 890577b1-c154-40a4-a177-a0c6d55320c3 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/890577b1-c154-40a4-a177-a0c6d55320c3/DyHCx4q --- client/src/pages/FolxStadlPage.tsx | 4 ---- client/src/pages/GeschichteLiedPage.tsx | 4 ---- client/src/pages/GipfelstammtischPage.tsx | 4 ---- 3 files changed, 12 deletions(-) diff --git a/client/src/pages/FolxStadlPage.tsx b/client/src/pages/FolxStadlPage.tsx index e058134..ec0708d 100644 --- a/client/src/pages/FolxStadlPage.tsx +++ b/client/src/pages/FolxStadlPage.tsx @@ -66,15 +66,11 @@ export default function FolxStadlPage() { const isLeftSwipe = distance > 50; const isRightSwipe = distance < -50; - console.log('Swipe detected:', { distance, isLeftSwipe, isRightSwipe, currentPage, totalPages }); - if (isLeftSwipe && currentPage < totalPages) { setCurrentPage(currentPage + 1); - console.log('Swiped to next page:', currentPage + 1); } if (isRightSwipe && currentPage > 1) { setCurrentPage(currentPage - 1); - console.log('Swiped to previous page:', currentPage - 1); } }; diff --git a/client/src/pages/GeschichteLiedPage.tsx b/client/src/pages/GeschichteLiedPage.tsx index 8670cca..970b088 100644 --- a/client/src/pages/GeschichteLiedPage.tsx +++ b/client/src/pages/GeschichteLiedPage.tsx @@ -68,15 +68,11 @@ export default function GeschichteLiedPage() { const isLeftSwipe = distance > 50; const isRightSwipe = distance < -50; - console.log('Swipe detected:', { distance, isLeftSwipe, isRightSwipe, currentPage, totalPages }); - if (isLeftSwipe && currentPage < totalPages) { setCurrentPage(currentPage + 1); - console.log('Swiped to next page:', currentPage + 1); } if (isRightSwipe && currentPage > 1) { setCurrentPage(currentPage - 1); - console.log('Swiped to previous page:', currentPage - 1); } }; diff --git a/client/src/pages/GipfelstammtischPage.tsx b/client/src/pages/GipfelstammtischPage.tsx index 5959247..67cfe32 100644 --- a/client/src/pages/GipfelstammtischPage.tsx +++ b/client/src/pages/GipfelstammtischPage.tsx @@ -68,15 +68,11 @@ export default function GipfelstammtischPage() { const isLeftSwipe = distance > 50; const isRightSwipe = distance < -50; - console.log('Swipe detected:', { distance, isLeftSwipe, isRightSwipe, currentPage, totalPages }); - if (isLeftSwipe && currentPage < totalPages) { setCurrentPage(currentPage + 1); - console.log('Swiped to next page:', currentPage + 1); } if (isRightSwipe && currentPage > 1) { setCurrentPage(currentPage - 1); - console.log('Swiped to previous page:', currentPage - 1); } };