Skip to content

Commit

Permalink
Hotfix for search incorrect redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
ThijmenGThN authored Oct 6, 2024
1 parent 717d05d commit bd1a40b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export default function Search() {
results.map((result) => (
<li key={result.id}>
<Link className="flex flex-col gap-y-2 rounded bg-gradient-to-tr from-gray-50 to-white border p-4 shadow-sm hover:cursor-pointer hover:to-gray-100"
href={result.expand.category.slug + '/' + result.slug}
href={'/' + result.expand.category.slug + '/' + result.slug}
>
<p>
{result.name}
Expand Down

0 comments on commit bd1a40b

Please sign in to comment.