adjusted line
This commit was merged in pull request #7.
This commit is contained in:
@@ -102,11 +102,11 @@ const AuthInit: FC<WithChildren> = ({children}) => {
|
||||
const logOutSession = setTimeout(() => {
|
||||
logout()
|
||||
}, Number(process.env.REACT_APP_LOGOUT_SESSION_TIMEOUT))
|
||||
// eslint-disable-next-line
|
||||
|
||||
|
||||
return (() => {
|
||||
clearInterval(logOutSession)
|
||||
})
|
||||
// eslint-disable-next-line
|
||||
}, [pathname])
|
||||
|
||||
return showSplashScreen ? <LayoutSplashScreen /> : <>{children}</>
|
||||
|
||||
Reference in New Issue
Block a user