Skip to content

Commit

Permalink
fix: searchdata not loading properly on serve (#712)
Browse files Browse the repository at this point in the history
  • Loading branch information
raiindev committed May 3, 2024
1 parent bd42061 commit c69fb54
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export function OramaSearch() {
} else {
let buffer

if (searchData.current) {
if (searchData?.current) {
buffer = searchData.current.data
} else {
const searchResponse = await fetch(baseURL)
Expand Down

0 comments on commit c69fb54

Please sign in to comment.