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