web/ActionButton: clean up

This commit is contained in:
wukko 2024-07-27 15:07:38 +06:00
parent a9f9a3e342
commit 26eaac5742
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -1,6 +1,8 @@
<script lang="ts"> <script lang="ts">
export let id: string; export let id: string;
export let click = () => { alert('no function assigned') }; export let click = () => {
alert("no function assigned");
};
</script> </script>
<button id="button-{id}" class="button" on:click={click}> <button id="button-{id}" class="button" on:click={click}>