Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2022-01-19 13:21:49 +01:00
parent 7f9270117a
commit bff82c9ed2
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -924,7 +924,6 @@ export const SidebarDivider: React_2.ComponentType<
| 'contentEditable'
| 'inputMode'
| 'tabIndex'
| 'onError'
| 'defaultChecked'
| 'defaultValue'
| 'suppressContentEditableWarning'
@@ -1032,6 +1031,7 @@ export const SidebarDivider: React_2.ComponentType<
| 'onInvalidCapture'
| 'onLoad'
| 'onLoadCapture'
| 'onError'
| 'onErrorCapture'
| 'onKeyDown'
| 'onKeyDownCapture'
@@ -1286,7 +1286,6 @@ export const SidebarScrollWrapper: React_2.ComponentType<
| 'contentEditable'
| 'inputMode'
| 'tabIndex'
| 'onError'
| 'defaultChecked'
| 'defaultValue'
| 'suppressContentEditableWarning'
@@ -1394,6 +1393,7 @@ export const SidebarScrollWrapper: React_2.ComponentType<
| 'onInvalidCapture'
| 'onLoad'
| 'onLoadCapture'
| 'onError'
| 'onErrorCapture'
| 'onKeyDown'
| 'onKeyDownCapture'
@@ -1561,7 +1561,6 @@ export const SidebarSpace: React_2.ComponentType<
| 'contentEditable'
| 'inputMode'
| 'tabIndex'
| 'onError'
| 'defaultChecked'
| 'defaultValue'
| 'suppressContentEditableWarning'
@@ -1669,6 +1668,7 @@ export const SidebarSpace: React_2.ComponentType<
| 'onInvalidCapture'
| 'onLoad'
| 'onLoadCapture'
| 'onError'
| 'onErrorCapture'
| 'onKeyDown'
| 'onKeyDownCapture'
@@ -1835,7 +1835,6 @@ export const SidebarSpacer: React_2.ComponentType<
| 'contentEditable'
| 'inputMode'
| 'tabIndex'
| 'onError'
| 'defaultChecked'
| 'defaultValue'
| 'suppressContentEditableWarning'
@@ -1943,6 +1942,7 @@ export const SidebarSpacer: React_2.ComponentType<
| 'onInvalidCapture'
| 'onLoad'
| 'onLoadCapture'
| 'onError'
| 'onErrorCapture'
| 'onKeyDown'
| 'onKeyDownCapture'
@@ -15,7 +15,7 @@
*/
import { useEffect, RefObject, useState } from 'react';
export const useHover = (ref: RefObject<HTMLInputElement> ) => {
export const useHover = (ref: RefObject<HTMLInputElement>) => {
const [value, setValue] = useState(false);
const handleMouseOver = () => setValue(true);