From 4271a7f08485219b01e76a224c6b76104fe5bbd8 Mon Sep 17 00:00:00 2001 From: Tom Butcher Date: Sun, 31 Aug 2025 22:01:58 +0100 Subject: [PATCH] Removed logging. --- src/components/Dashboard/common/ObjectTable.jsx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/components/Dashboard/common/ObjectTable.jsx b/src/components/Dashboard/common/ObjectTable.jsx index 972d186..a252ead 100644 --- a/src/components/Dashboard/common/ObjectTable.jsx +++ b/src/components/Dashboard/common/ObjectTable.jsx @@ -203,8 +203,6 @@ const ObjectTable = forwardRef( const loadNextPage = useCallback(() => { const highestPage = Math.max(...pages.map((p) => p.pageNum)) const nextPage = highestPage + 1 - logger.debug('Next page', nextPage) - if (hasMore) { setPages((prev) => { const filteredPages = prev.map((page) => ({ @@ -310,7 +308,6 @@ const ObjectTable = forwardRef( updateEventHandlerRef.current = updateEventHandler const newEventHandler = useCallback(() => { - console.log('GOT NEW EVENT') reload() }, [reload]) @@ -369,12 +366,9 @@ const ObjectTable = forwardRef( // Cleanup effect for component unmount useEffect(() => { return () => { - console.log('API: Call unsub', connected) if (connected == true && unsubscribesRef.current) { - console.log('API: Got object unsub') // Clean up all subscriptions when component unmounts unsubscribesRef.current.forEach((unsubscribe) => { - console.log('CALLING UNSUB on unmount') if (unsubscribe) unsubscribe() }) unsubscribesRef.current = []