Skip to content

Commit

Permalink
hotfix on_updated bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Danble committed Mar 7, 2024
1 parent 8b7462c commit 012eae8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/site/src/lib/components/search/Hits.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
});
beforeUpdate(() => {
if (hits.length)
if (hits.length && on_updated)
on_updated();
})
</script>
Expand Down

0 comments on commit 012eae8

Please sign in to comment.