From 5712d52a2bfb9a25e3faf1be3c994e29cd48bf98 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste WATENBERG Date: Tue, 6 Aug 2024 15:36:03 +0200 Subject: [PATCH] Remove logs --- src/lib/components/tablev2/SingleSelectableContent.tsx | 6 ------ src/lib/components/tablev2/useSyncedScroll.ts | 4 ---- 2 files changed, 10 deletions(-) diff --git a/src/lib/components/tablev2/SingleSelectableContent.tsx b/src/lib/components/tablev2/SingleSelectableContent.tsx index 52fd1a7a30..016773467d 100644 --- a/src/lib/components/tablev2/SingleSelectableContent.tsx +++ b/src/lib/components/tablev2/SingleSelectableContent.tsx @@ -127,12 +127,6 @@ export function SingleSelectableContent< const { hasScrollbar, scrollBarWidth, handleScrollbarWidth } = useTableScrollbar(); - console.log('hasScrollbar', { - hasScrollbar, - scrollBarWidth, - handleScrollbarWidth, - }); - return ( <>
diff --git a/src/lib/components/tablev2/useSyncedScroll.ts b/src/lib/components/tablev2/useSyncedScroll.ts index 54e1fd5ead..cd6627a51f 100644 --- a/src/lib/components/tablev2/useSyncedScroll.ts +++ b/src/lib/components/tablev2/useSyncedScroll.ts @@ -13,11 +13,9 @@ export default function useSyncedScroll< const headerRef = useCallback( (element: HTMLDivElement) => { - console.log('elementaire', element); if (element) { const callback = (event: Event) => { if (element && event) { - console.log('element', element); element.scrollTo({ left: (event.target as HTMLDivElement).scrollLeft, top: 0, @@ -25,9 +23,7 @@ export default function useSyncedScroll< } }; if (!syncScrollListener) { - console.log('setSyncScrollListener', setSyncScrollListener); setSyncScrollListener(() => { - console.log('callback', callback); return callback; }); }