Skip to content

Commit

Permalink
#3172: Remove unused props, variables
Browse files Browse the repository at this point in the history
  • Loading branch information
cemalettin-work committed Sep 8, 2020
1 parent 12aa821 commit 67e2efe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions client/src/components/Calendar/Calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ const Calendar = ({
)}
{state.view === VIEWS.MONTHLY && (
<MonthlyView
viewMonth={state.viewDate}
dispatcher={dispatch}
events={events}
eventClick={eventClick}
dayClick={dayClick}
textColor={textColor}
viewMonth={state.viewDate}
weekStartsOn={1} // Monday
colorScale={colorScale}
textColor={textColor}
/>
)}
</div>
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/Calendar/Views/MonthlyView.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ MonthlyView.propTypes = {
}

MonthlyView.defaultProps = {
weekStartsOn: 1
weekStartsOn: 1 // Monday
}

const MonthlyViewBox = styled.div`
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/Calendar/Views/YearlyView.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ YearlyView.propTypes = {
textColor: PropTypes.string
}
YearlyView.defaultProps = {
weekStartsOn: 1
weekStartsOn: 1 // Monday
}
const YearlyViewBox = styled.div`
border: 2px solid blue;
Expand Down

0 comments on commit 67e2efe

Please sign in to comment.