Skip to content

Commit

Permalink
remove duplicate code (jquense#926)
Browse files Browse the repository at this point in the history
  • Loading branch information
fingerpich authored and jquense committed Jul 30, 2018
1 parent d2e02c4 commit fb96199
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/WorkWeek.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,7 @@ class WorkWeek extends React.Component {
}
}

WorkWeek.range = (date, options) => {
return Week.range(date, options).filter(
d => [6, 0].indexOf(d.getDay()) === -1
)
}
WorkWeek.range = workWeekRange

WorkWeek.navigate = Week.navigate

Expand Down

0 comments on commit fb96199

Please sign in to comment.