Skip to content

Commit 2e380ac

Browse files
committed
dont add that param to the next page
1 parent 1078919 commit 2e380ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/category/[slug]/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
<div class="grid lg:grid-cols-2 gap-4 mt-4">
6262
{#each sortedRecipes as recipe}
6363
<a
64-
href={`${base}/category/${slug}/recipe/${recipe.slug}${sortBy !== 'title' ? `?sort=${sortBy}` : ''}`}
64+
href={`${base}/category/${slug}/recipe/${recipe.slug}`}
6565
class="hover:text-white no-underline"
6666
>
6767
<Recipe category={slug} {recipe} hover />

0 commit comments

Comments
 (0)