Skip to content

Commit

Permalink
Merge pull request #58 from david-abell/main
Browse files Browse the repository at this point in the history
fix: default src value not a placeholder
  • Loading branch information
markteekman authored Sep 18, 2023
2 parents 9eaf3ff + 868c3e9 commit c87b1b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Media.astro
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ interface Props {
alt?: string
}
const { class: classNames, src = 'https://shorturl.at/tCPS2', alt = '' } = Astro.props
const { class: classNames, src = 'https://fakeimg.pl/640x360', alt = '' } = Astro.props
---

<img class={classNames} src={src} alt={alt} loading="lazy" decoding="async" />

0 comments on commit c87b1b0

Please # to comment.