cleaned up better
This commit is contained in:
@@ -5,10 +5,7 @@ import bannerImage from "../../assets/images/banner-coupons.jpg";
|
||||
|
||||
export default function HomeBannerOffersCard(props) {
|
||||
const [imageUrl, setImageUrl] = useState("");
|
||||
console.log("HomeBannerOffersCard-> ##->", props);
|
||||
const link_result = "/" + props.itemData.link_path;
|
||||
var imgUrl = props.itemData.banner; // ? this.state.nextImgSrc : this.state.song.imgSrc;
|
||||
console.log("IMAGE FOR BANNER->", imgUrl);
|
||||
|
||||
useEffect(() => {
|
||||
let { banner, banner_location } = props?.itemData;
|
||||
|
||||
Reference in New Issue
Block a user