move secondsSinceExpiration computation into separate function
move secondsSinceExpiration computation into separate function

buildo/react-cookie-banner,buildo/react-cookie-banner,buildo/react-cookie-banner,buildo/react-cookie-banner