7 lines
174 B
JavaScript
7 lines
174 B
JavaScript
import moment from 'moment'
|
|
|
|
const isPlusAccount = userProfile => {
|
|
return userProfile?.expiration && moment(userProfile?.expiration).isAfter()
|
|
}
|
|
|
|
export { isPlusAccount }
|