Web: Files: is loading banner
This commit is contained in:
parent
21a9f115f1
commit
243a63dda5
@ -106,10 +106,14 @@ const Banner = (props) => {
|
|||||||
.split(",")
|
.split(",")
|
||||||
.filter((campaign) => campaign.length > 0);
|
.filter((campaign) => campaign.length > 0);
|
||||||
|
|
||||||
if (!campaigns.length || !tReady) {
|
if (!campaigns.length) {
|
||||||
return <></>;
|
return <></>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*if (!tReady) {
|
||||||
|
return <h1>Loading...</h1>;
|
||||||
|
}*/
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<CampaignsBanner
|
<CampaignsBanner
|
||||||
headerLabel={t("Header")}
|
headerLabel={t("Header")}
|
||||||
@ -117,6 +121,7 @@ const Banner = (props) => {
|
|||||||
img={bannerImage}
|
img={bannerImage}
|
||||||
btnLabel={t("ButtonLabel")}
|
btnLabel={t("ButtonLabel")}
|
||||||
link={t("Link")}
|
link={t("Link")}
|
||||||
|
isLoading={!tReady}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user