diff --git a/packages/bruno-app/src/components/Sidebar/Collections/Collection/CollectionItem/index.js b/packages/bruno-app/src/components/Sidebar/Collections/Collection/CollectionItem/index.js index 3532ade4a..a41a13024 100644 --- a/packages/bruno-app/src/components/Sidebar/Collections/Collection/CollectionItem/index.js +++ b/packages/bruno-app/src/components/Sidebar/Collections/Collection/CollectionItem/index.js @@ -85,7 +85,7 @@ const CollectionItem = ({ item, collectionUid, collectionPathname, searchText }) useEffect(() => { dragPreview(getEmptyImage(), { captureDraggingState: true }); }, []); - + // Auto-scroll to show this item when its tab becomes active useEffect(() => { if (isTabForItemActive && ref.current) { @@ -95,7 +95,7 @@ const CollectionItem = ({ item, collectionUid, collectionPathname, searchText }) // ignore scroll errors (some environments may not support smooth scrolling) } } - }, [isTabForItemActive]) + }, [isTabForItemActive]); const determineDropType = (monitor) => { const hoverBoundingRect = ref.current?.getBoundingClientRect();