Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
bortoz committed Jul 12, 2024
1 parent 62b8a24 commit 8d4dd1f
Show file tree
Hide file tree
Showing 3 changed files with 267 additions and 241 deletions.
2 changes: 1 addition & 1 deletion frontend/app/search/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ function PageInner() {
async function fetcher() {
const res = await fetch("/api/search");
const index = await res.text();
return MiniSearch.loadJSON(index, { fields: ["k"], storeFields: ["v"] });
return MiniSearch.loadJSONAsync(index, { fields: ["k"], storeFields: ["v"] });
}
4 changes: 2 additions & 2 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"lint": "next lint"
},
"dependencies": {
"@olinfo/react-components": "^0.3",
"@olinfo/react-components": "^0.4",
"@olinfo/tailwind": "^0.1",
"@types/node": "^20",
"@types/react": "^18.0",
Expand All @@ -17,7 +17,7 @@
"image-size": "^1.1",
"loader-utils": "^3.2",
"lucide-react": "^0.395",
"minisearch": "^6.3",
"minisearch": "^7.0",
"next": "^14.0",
"prop-types": "^15.8",
"react": "^18.0",
Expand Down
Loading

0 comments on commit 8d4dd1f

Please sign in to comment.