🪢 Unwrangling state vars for global search vs local

This commit is contained in:
2022-08-18 00:10:31 -07:00
parent 5f59456c8b
commit 9bbf2efc3c
6 changed files with 50 additions and 14 deletions

View File

@@ -18,13 +18,14 @@ const LibraryContainer = (): ReactElement => {
from: 0,
},
type: "all",
trigger: "libraryPage"
},
),
);
}, []);
const searchResults = useSelector(
(state: RootState) => state.fileOps.librarySearchResults,
(state: RootState) => state.fileOps.libraryComics,
);
const searchError = useSelector(
(state: RootState) => state.fileOps.librarySearchError,