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

@@ -8,8 +8,6 @@
import { BooleanParam, useQueryParam, StringParam } from 'use-query-params';
export type NullAndUndefined<T> = T | null | undefined;
interface IUseLibraryOptions {
downloaded: NullAndUndefined<boolean>
setDownloaded: (downloaded: NullAndUndefined<boolean>)=>void