moved refer friend section
This commit was merged in pull request #790.
This commit is contained in:
@@ -10,8 +10,8 @@ const AccountDashboard = ({ className, bannerList, offersList }) => {
|
|||||||
let [offerPopout, setOfferPopout] = useState({ show: false, data: {} }); // STATE TO HOLD THE VALUE OF THE ALERT DETAILS AND DETERMINE WHEN TO SHOW
|
let [offerPopout, setOfferPopout] = useState({ show: false, data: {} }); // STATE TO HOLD THE VALUE OF THE ALERT DETAILS AND DETERMINE WHEN TO SHOW
|
||||||
|
|
||||||
// getting the upper three banners for the home layout
|
// getting the upper three banners for the home layout
|
||||||
const getUpperBanner = bannerList?.filter((value, idx) => idx <= 2);
|
const getUpperBanner = bannerList?.filter((value, idx) => idx < 2);
|
||||||
const getLowerBanner = bannerList?.filter((value, idx) => idx > 2);
|
const getLowerBanner = bannerList?.filter((value, idx) => idx >= 2);
|
||||||
|
|
||||||
let getImage = ({ banner_location, banner }) => {
|
let getImage = ({ banner_location, banner }) => {
|
||||||
if (banner_location == "LOCAL") {
|
if (banner_location == "LOCAL") {
|
||||||
|
|||||||
Reference in New Issue
Block a user