fixed typo
This commit was merged in pull request #11.
This commit is contained in:
@@ -45,7 +45,7 @@ const AuthRoute = ({ redirectPath = "/login", children }) => {
|
||||
// cleaning up listeners
|
||||
return () => {
|
||||
clearInterval(checkInactivity)
|
||||
window.removeEventListener('mouseover', resetTime)
|
||||
window.removeEventListener('mousemove', resetTime)
|
||||
window.removeEventListener('keydown', resetTime)
|
||||
}
|
||||
}, [pathname, lastActivityTime])
|
||||
|
||||
Reference in New Issue
Block a user