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