donetick-fe/src/utils/Helpers.jsx
2024-06-30 18:55:39 -04:00

7 lines
174 B
JavaScript

import moment from 'moment'
const isPlusAccount = userProfile => {
return userProfile?.expiration && moment(userProfile?.expiration).isAfter()
}
export { isPlusAccount }