Skip to content

Commit

Permalink
fix: add alt to qr code
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbchron committed Feb 28, 2024
1 parent 4c7b77d commit 6d92ccd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/site-app/src/pages/qr_code.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ pub fn QrCode(
{ qr_code.map(|r| {
match r {
Ok(qr_code) => view! {
<img src={format!("data:image/png;base64,{}", qr_code)} class=class />
<img src={format!("data:image/png;base64,{}", qr_code)} alt="A QR code" class=class />
}.into_view(),
Err(e) => view! {
<div>
Expand Down

0 comments on commit 6d92ccd

Please sign in to comment.