Should not pass activity.days[dayId] as a prop -- dayId should be passed and this day should be determined if valid for the activity within component. - Bullet isAfterToday and isBeforeCreationDate should be calculated within Bullet instead of passed as props. - DailyActivityDetails Should indicate that the activity is not valid for this day
Should not pass activity.days[dayId] as a prop -- dayId should be passed and this day should be determined if valid for the activity within component.
Bullet
isAfterToday and isBeforeCreationDate should be calculated within Bullet instead of passed as props.
DailyActivityDetails
Should indicate that the activity is not valid for this day