🔧 Added a call to fetch volumes

This commit is contained in:
2022-04-09 01:46:08 -07:00
parent 1f26fe5cfa
commit 99f6991896
2 changed files with 21 additions and 1 deletions

View File

@@ -9,6 +9,27 @@ import { isUndefined } from "lodash";
import { convert } from "html-to-text";
export const Volumes = (props): ReactElement => {
const volumes = useSelector(
(state: RootState) => state.fileOps.librarySearchResults,
);
const dispatch = useDispatch();
useEffect(() => {
dispatch(
searchIssue(
{
query: {},
},
{
pagination: {
size: 25,
from: 0,
},
type: "volumes",
},
),
);
}, []);
console.log(volumes);
return <div>as</div>;
};

View File

@@ -29,7 +29,6 @@ export const WantedComics = (props): ReactElement => {
),
);
}, []);
console.log(wantedComics);
const columnData = useMemo(
() => [
{