format code
This commit is contained in:
1 parent
d32c457990
commit
8b9e5b963f
6 files changed
+61
-52
No files matched your search
+1
-1
@@ -33,7 +33,7 @@ export function useHotkeys<T extends HTMLElement>(
|
||||
keys: Keys,
|
||||
callback: HotkeyCallback,
|
||||
options?: OptionsOrDependencyArray,
|
||||
dependencies?: OptionsOrDependencyArray,
|
||||
dependencies?: OptionsOrDependencyArray
|
||||
): MutableRefObject<RefType<T>> {
|
||||
if (keys instanceof Array) {
|
||||
keys = keys.filter((v) => !!v);
|
||||
|
||||
Reference in new issue
Block a user