Added semi colon

This commit is contained in:
SAGAR KHATRI
2025-11-13 19:31:21 +05:30
committed by GitHub
parent cf19035b0b
commit f7ea1f8dbb

View File

@@ -85,7 +85,7 @@ const CollectionItem = ({ item, collectionUid, collectionPathname, searchText })
useEffect(() => { useEffect(() => {
dragPreview(getEmptyImage(), { captureDraggingState: true }); dragPreview(getEmptyImage(), { captureDraggingState: true });
}, []); }, []);
// Auto-scroll to show this item when its tab becomes active // Auto-scroll to show this item when its tab becomes active
useEffect(() => { useEffect(() => {
if (isTabForItemActive && ref.current) { if (isTabForItemActive && ref.current) {
@@ -95,7 +95,7 @@ const CollectionItem = ({ item, collectionUid, collectionPathname, searchText })
// ignore scroll errors (some environments may not support smooth scrolling) // ignore scroll errors (some environments may not support smooth scrolling)
} }
} }
}, [isTabForItemActive]) }, [isTabForItemActive]);
const determineDropType = (monitor) => { const determineDropType = (monitor) => {
const hoverBoundingRect = ref.current?.getBoundingClientRect(); const hoverBoundingRect = ref.current?.getBoundingClientRect();