Skip to content

Commit

Permalink
chore: fix vbind var and add alt attr
Browse files Browse the repository at this point in the history
This commit addresses a typo in `buildSrcSet.vue` that resulted in an
error where `advancedSrc` was not defined in the scope of the component.
It also adds an `alt` attribute to the component, since the vue linter
was complaining about it missing.
  • Loading branch information
luqven committed Apr 20, 2021
1 parent d352c98 commit c501488
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/advanced/buildSrcSet.vue
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<template>
<img
:src="advancedSrc"
:src="advancedUrl"
:srcset="advancedSrcSet"
data-testid="advanced-build-src-set"
alt="advanced-build-srcset-fruit-image"
/>
</template>

Expand Down

0 comments on commit c501488

Please sign in to comment.