refactor: remove redundant type="submit"

This commit is contained in:
Eyal Cherevatsky 2024-03-24 16:54:16 +02:00 committed by Mattias Granlund
parent b30b138128
commit 9d3934d68d

View File

@ -141,7 +141,7 @@
<svelte:fragment slot="controls" let:close>
<Button color="neutral" kind="outlined" on:click={close}>Cancel</Button>
<Button color="primary" type="submit" form="branch-name-form">Rename</Button>
<Button color="primary" form="branch-name-form">Rename</Button>
</svelte:fragment>
</Modal>