fix: request run crash

This commit is contained in:
Pooja Belaramani
2025-03-21 16:18:50 +05:30
committed by Anoop M D
parent a0926c4064
commit b0caf46406

View File

@@ -98,7 +98,7 @@ const CollectionItem = ({ item, collection, searchText }) => {
};
const handleClick = (event) => {
if (event.detail != 1) return;
if (event && event.detail != 1) return;
//scroll to the active tab
setTimeout(scrollToTheActiveTab, 50);