Skip to content

Commit

Permalink
feat: search with input
Browse files Browse the repository at this point in the history
  • Loading branch information
BastinJafari committed Sep 7, 2021
1 parent 44bb25a commit 27b8b6a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/showcases/src/pages/pdf.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const PDF_API_URL = "http://34.89.253.237:80"
const customReqSerializer = (documents: RawDocumentData[], version: string) => {
return {
"mime_type": "text",
"data": "this could be your serach"
"data": documents[0]
}
}

Expand Down Expand Up @@ -59,9 +59,6 @@ export default function PDF() {
setSearching(false);
setResults(results);
setQueries(queries);
console.log("results", results)
console.log("queries", queries)

}

return (
Expand Down

0 comments on commit 27b8b6a

Please sign in to comment.