Skip to content

Commit

Permalink
feat(admin-ui): update IdleTimer component cleanup code
Browse files Browse the repository at this point in the history
  • Loading branch information
harryandriyan committed Oct 26, 2022
1 parent 7157395 commit ac21739
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions admin-ui/app/routes/Apps/Gluu/GluuSessionTimeout.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ import { withIdleTimer } from 'react-idle-timer'
let countdownInterval
let timeout

const IdleTimerComponent = ({ children }) => {
return children
}
const IdleTimerComponent = ({ children }) => children
const IdleTimer = withIdleTimer(IdleTimerComponent)

const SessionTimeout = ({ isAuthenticated }) => {
Expand Down

0 comments on commit ac21739

Please sign in to comment.