default mouse hidden

This commit is contained in:
cupcakearmy 2019-03-06 00:16:46 +01:00
parent abeaa8bcfa
commit 51c6b1b461

View File

@ -6,7 +6,7 @@ const getSize = () => {
}
export const useIsMousePresent = ()=> {
let [present, setPresent] = useState<boolean>(true)
let [present, setPresent] = useState<boolean>(false)
useEffect(() => {
const enter = ()=> setPresent(true)