Cleanup code

- Remove unused props
- Add alt to icon on BoxCTA
This commit is contained in:
2021-11-14 19:56:11 +01:00
parent 8dd59e74d4
commit c9c028118b
4 changed files with 2 additions and 33 deletions

View File

@@ -9,7 +9,7 @@
<a href={url} class="box-cta">
<div class="icon">
<Icon icon={icon} />
<Icon icon={icon} label={alt} />
</div>
<span class="text-label">
{label}

View File

@@ -5,7 +5,6 @@
import Select from '$components/molecules/Select.svelte'
export let item: any
export let index: number
const dispatch = createEventDispatcher()
const quantityLimit = 5