Shorten line lengths in home
This commit is contained in:
+2
-1
@@ -24,8 +24,9 @@ export default class Home extends Component {
|
|||||||
|
|
||||||
this.setStateWithCurrentWelcomeText = (function (HomeComponent) {
|
this.setStateWithCurrentWelcomeText = (function (HomeComponent) {
|
||||||
return function () {
|
return function () {
|
||||||
|
const cycleDayNumber = getCycleDayNumber(HomeComponent.todayDateString)
|
||||||
HomeComponent.setState({
|
HomeComponent.setState({
|
||||||
welcomeText: determineWelcomeText(getCycleDayNumber(HomeComponent.todayDateString))
|
welcomeText: determineWelcomeText(cycleDayNumber)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})(this)
|
})(this)
|
||||||
|
|||||||
Reference in New Issue
Block a user