Skip to content
This repository has been archived by the owner on May 7, 2021. It is now read-only.

Commit

Permalink
Fix banner workout day (patch)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorge Cuadra committed Sep 22, 2018
1 parent 0f54011 commit d83b719
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions src/plan/Plan.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,14 @@ class Plan extends React.Component {

return (
<div className="plan">
{isWorkoutDay && (
<div className="banner text-center">
<Typography use="subtitle1" theme="onSecondary">
Workout Day
</Typography>
</div>
)}
<div
className="banner text-center"
style={isWorkoutDay ? { display: 'none' } : {}}
>
<Typography use="subtitle1" theme="onSecondary">
Workout Day
</Typography>
</div>
<Grid>
<GridCell span="12">
<TabBar
Expand Down

0 comments on commit d83b719

Please sign in to comment.