handle search shortcuts (#116)

* code cleanup

* fix some issues

* handle search keyboard shortcuts
This commit is contained in:
Aria Moradi
2021-12-19 18:06:27 +03:30
committed by GitHub
parent 83f025161b
commit 7eedce62cd
7 changed files with 91 additions and 115 deletions

View File

@@ -15,7 +15,7 @@ import LoadingPlaceholder from 'components/util/LoadingPlaceholder';
import TabPanel from 'components/util/TabPanel';
import LibraryOptions from 'components/library/LibraryOptions';
import LibraryMangaGrid from 'components/library/LibraryMangaGrid';
import LibrarySearch from 'components/library/LibrarySearch';
import AppbarSearch from 'components/util/AppbarSearch';
import { useQueryParam, NumberParam } from 'use-query-params';
interface IMangaCategory {
@@ -29,7 +29,7 @@ export default function Library() {
useEffect(() => {
setTitle('Library'); setAction(
<>
<LibrarySearch />
<AppbarSearch />
<LibraryOptions />
</>,
);