donetick-fe/src/utils/Helpers.jsx

8 lines
174 B
React
Raw Permalink Normal View History

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