Skip to content

Commit

Permalink
refactor: link to button
Browse files Browse the repository at this point in the history
  • Loading branch information
tbmc committed Oct 6, 2023
1 parent 8d55f10 commit 3d6c117
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions web-app/src/routes/GenerateUrl/LoginForm.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -90,19 +90,13 @@
<footer>
<div class="grid">
<div />
<a href="#" role="button" class="secondary outline reset" on:click={reset}
>{$t('generateUrl.form.buttonReset')}</a
>
<a href="#" role="button" class="secondary list-teams" on:click={listTeams}>
{#if $fetchTeamsIsLoading}
<Loader />
{:else}
{$t('generateUrl.form.buttonListTeams')}
{/if}
</a>
<a href="#" role="button" class="generate" on:click={generateUrl}>
<button class="secondary outline reset" on:click={reset}>{$t('generateUrl.form.buttonReset')}</button>
<button class="secondary list-teams" on:click={listTeams} aria-busy={$fetchTeamsIsLoading}>
{$t('generateUrl.form.buttonListTeams')}
</button>
<button class="generate" on:click={generateUrl}>
{$t('generateUrl.form.buttonGenerate')}
</a>
</button>
<div />
</div>
</footer>
Expand Down

0 comments on commit 3d6c117

Please sign in to comment.