Open TafadzwaTaks opened 3 years ago
i keep on getting this error , please assist me ,
the code below is what is triggering the error (TypeError: Object(...) is not a function) useEffect(() => { dispatch(listProducts()); }, [dispatch]);
please help me , please anyone.
i keep on getting this error , please assist me ,
the code below is what is triggering the error (TypeError: Object(...) is not a function) useEffect(() => { dispatch(listProducts()); }, [dispatch]);
please help me , please anyone.