score:4

Accepted answer
function getActiveStart(state) {
    return state.activeStart ? moment(state.activeStart) : null;
}

score:0

const { name, createdAt } = user

moment(createdAt.toDate()).format()

Related Query

More Query from same tag