Skip to content
Snippets Groups Projects
Commit da29c275 authored by Julia Friesel's avatar Julia Friesel
Browse files

Shorten line lengths in home

parent c525812a
No related branches found
No related tags found
No related merge requests found
...@@ -24,8 +24,9 @@ export default class Home extends Component { ...@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment