added missing import

This commit is contained in:
Yanick Champoux 2021-06-13 13:14:22 -04:00
parent c047e5f5a3
commit 35238d2029

View File

@ -1,18 +1,20 @@
<div>
{#each _.range(firecons) as firecon }
<img class="firecon" src="icons/firecon.svg" alt="firecon" />
{/each}
</div>
<div>
{#each _.range(firecons) as firecon}
<img class="firecon" src="icons/firecon.svg" alt="firecon" />
{/each}
</div>
<script>
export let firecons = 0;
</script>
<script>
import _ from "lodash";
<style>
div {
display: flex;
gap: 0.5em;
}
export let firecons = 0;
</script>
<style>
div {
display: flex;
gap: 0.5em;
}
img.firecon {
width: 1em;
}