fixed typo

This commit was merged in pull request #11.
This commit is contained in:
Ebube
2023-04-24 16:08:19 +01:00
parent 0a00e12b58
commit f42fabbfbb
+1 -1
View File
@@ -45,7 +45,7 @@ const AuthRoute = ({ redirectPath = "/login", children }) => {
// cleaning up listeners // cleaning up listeners
return () => { return () => {
clearInterval(checkInactivity) clearInterval(checkInactivity)
window.removeEventListener('mouseover', resetTime) window.removeEventListener('mousemove', resetTime)
window.removeEventListener('keydown', resetTime) window.removeEventListener('keydown', resetTime)
} }
}, [pathname, lastActivityTime]) }, [pathname, lastActivityTime])