test: fix svelte-check warnings

This commit is contained in:
Eric Y Liu 2021-07-10 08:41:37 -07:00
commit caa7294ed6
4 changed files with 8 additions and 4 deletions

View file

@ -12,7 +12,10 @@
primaryButtonText="Confirm"
secondaryButtons="{[{ text: 'Cancel' }, { text: 'Duplicate' }]}"
secondaryButtonText="Cancel"
on:click:button--secondary="{({ detail }) => (open = false)}"
on:click:button--secondary="{({ detail }) => {
console.log(detail);
open = false;
}}"
on:open
on:close
on:submit