Skip to content

Commit

Permalink
fix search form (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
luz-ojeda authored Jul 4, 2024
1 parent fb3c6fb commit 446f0d6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/lib/components/RecipesSearchForm.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
<label for="vegetarian">Solo vegetarianas</label>

{#if $page.url.pathname !== '/'}
<Button {loading} onSubmit={onButtonClick} type="submit">Buscar</Button>
<Button {loading} onClick={onButtonClick} type="submit">Buscar</Button>
{:else}
<a
class="non-text-anchor-element"
Expand Down Expand Up @@ -123,8 +123,6 @@
@import '../../sass/variables.scss';
form {
font-size: 1.125rem;
> *:not(:last-child) {
margin-bottom: 16px;
Expand Down

0 comments on commit 446f0d6

Please sign in to comment.