wrap call to function with params into lambda...

This commit is contained in:
Marcell Mars 2021-08-18 14:33:50 +02:00
parent 2753be8450
commit 847a228f5a

View file

@ -46,7 +46,7 @@
on:click={swapTier(tier, -1)}
disabled={i == 0 ? true : false}>⇑</button
>
<button type="button" on:click={removeTier(tier)}>×</button>
<button type="button" on:click={()=> removeTier(tier)}>×</button>
</div>
</div>
{/each}