import React from "react"; import { Link } from "react-router-dom"; const AccountDashboard = ({ className, bannerList }) => { // getting the upper three banners for the home layout const getUpperBanner = bannerList?.filter((value, idx) => idx <= 2); const getLowerBanner = bannerList?.filter((value, idx) => idx > 2); let getImage = ({ banner_location, banner }) => { if (banner_location == "LOCAL") { return require(`../../assets/images/${banner}`); } else { return banner; } }; console.log(getLowerBanner); return (
{desc}