removed unwanted useEffect

This commit is contained in:
KarthiKKVardhan 2026-05-14 19:19:14 +05:30
parent fde66f4390
commit 0e88306546

View File

@ -495,9 +495,6 @@ const ProductData = ({
const location = useLocation(); // Add this line
// Debug: Log products data when it changes
useEffect(() => {
}, [products]);
const [activeTab, setActiveTab] = React.useState('current');
const [isInitialLoad, setIsInitialLoad] = React.useState(true);