diff --git a/src/components/sections/Schedule.js b/src/components/sections/Schedule.js index 05db930..8d79a3a 100644 --- a/src/components/sections/Schedule.js +++ b/src/components/sections/Schedule.js @@ -86,6 +86,8 @@ class Schedule extends React.PureComponent { } handleClick = active => this.setState({ activeDay: active }); + changeBackground = e => e.target.style.background = '#FFF'; + revertBackground = e => e.target.style.background = 'inherit'; render() { const { activeDay } = this.state; @@ -111,7 +113,7 @@ class Schedule extends React.PureComponent {

Day {activeDay}

{SCHEDULE[activeDay - 1].value.map(({ time, label }) => ( - + >
{label}