🔎 Wiring up the Library page for elasticsearch-powered, search

This commit is contained in:
2022-03-07 03:05:15 -08:00
parent a7a536c647
commit bb3e01ca24
10 changed files with 194 additions and 112 deletions

View File

@@ -10,11 +10,19 @@ export const SearchBar = (): ReactElement => {
const handleSubmit = useCallback((e) => {
console.log(e);
dispatch(
searchIssue({
queryObject: {
volumeName: e.search,
searchIssue(
{
query: {
volumeName: e.search,
},
},
}),
{
pagination: {
size: 25,
from: 0,
},
},
),
);
}, []);
return (