Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
xavier506 committed Oct 24, 2022
2 parents 586875b + ef605bf commit 45e57ef
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions webapp/src/routes/Home/FrontLayer/Home/Home.frontLayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,6 @@ const HomeFrontLayer = () => {
severity: 'success'
})
} catch (error) {
console.error(error)
setOpenSnackMailer({
open: true,
message: error?.message || 'please try again.',
Expand Down Expand Up @@ -260,7 +259,6 @@ const HomeFrontLayer = () => {

return [...resolvedPrevious, bpjson]
} catch (err) {
console.log(err)
return resolvedPrevious
}
}, [])
Expand Down Expand Up @@ -426,12 +424,12 @@ const HomeFrontLayer = () => {
{t('joinTitle')}
</span>
<div className={classes.bpsBox}>
{bpsData.map(({ org: { branding, website } }, index) => (
<a key={`img-${index}`} href={website}>
{bpsData.map((bp, index) => (
<a key={`img-${index}`} href={bp?.org?.website}>
<img
src={branding.logo_256}
src={bp?.org?.branding.logo_256}
className="boxExampleBps"
alt="BP logo"
alt={`${bp?.producer_account_name || 'Bp'} logo`}
/>
</a>
))}
Expand Down

0 comments on commit 45e57ef

Please sign in to comment.