wrap call to function with params into lambda...
This commit is contained in:
parent
2753be8450
commit
847a228f5a
1 changed files with 1 additions and 1 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Reference in a new issue