Skip to content

Commit

Permalink
Add conditional check for heading
Browse files Browse the repository at this point in the history
  • Loading branch information
johanbissemattsson committed Nov 26, 2024
1 parent b9ebc33 commit 3a9d99c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lxl-web/src/lib/components/Search.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
>
{#snippet resultItem(item)}
<button type="button">
<h2>{item.heading}</h2>
<h2>{item?.heading}</h2>
</button>
{/snippet}
</SuperSearch>
Expand Down

0 comments on commit 3a9d99c

Please sign in to comment.