🔧 Search page refactoring

This commit is contained in:
Rishi Ghan
2022-05-10 14:57:46 -07:00
parent 5e7496028f
commit 30ee5e4a67
2 changed files with 189 additions and 190 deletions

View File

@@ -142,7 +142,7 @@ export const downloadAirDCPPItem =
dispatch({ dispatch({
type: LS_SINGLE_IMPORT, type: LS_SINGLE_IMPORT,
meta: { remote: true }, meta: { remote: true },
data: { downloadStatus }, data: { downloadStatus, comicObjectId },
}); });
} }
}); });

View File

@@ -8,7 +8,6 @@ import { searchIssue } from "../../actions/fileops.actions";
export const SearchBar = (): ReactElement => { export const SearchBar = (): ReactElement => {
const dispatch = useDispatch(); const dispatch = useDispatch();
const handleSubmit = useCallback((e) => { const handleSubmit = useCallback((e) => {
console.log(e);
dispatch( dispatch(
searchIssue( searchIssue(
{ {