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) {
|
||||
return function () {
|
||||
const cycleDayNumber = getCycleDayNumber(HomeComponent.todayDateString)
|
||||
HomeComponent.setState({
|
||||
welcomeText: determineWelcomeText(getCycleDayNumber(HomeComponent.todayDateString))
|
||||
welcomeText: determineWelcomeText(cycleDayNumber)
|
||||
})
|
||||
}
|
||||
})(this)
|
||||
|
||||
Reference in New Issue
Block a user