mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-12 11:10:27 +00:00
uncomment classname condition
This commit is contained in:
parent
a3da21915f
commit
3ffbe491b4
1 changed files with 1 additions and 1 deletions
|
|
@ -131,7 +131,7 @@ class Calendar extends Component {
|
|||
data-date={new Date(this.state.date.getFullYear(), this.state.date.getMonth(), (weekNumber * 7) + (day - padsCount + 1)).getTime()}
|
||||
onClick={this.changeDate}
|
||||
>
|
||||
<div className={classnames(styles['date'], { [styles['today']]: /*this.state.date.getFullYear() === today.getFullYear() && this.state.date.getMonth() === today.getMonth() &&*/ ((weekNumber * 7) + day - padsCount + 1) === today.getDate() })}>{(weekNumber * 7) + (day - padsCount + 1)}</div>
|
||||
<div className={classnames(styles['date'], { [styles['today']]: this.state.date.getFullYear() === today.getFullYear() && this.state.date.getMonth() === today.getMonth() && ((weekNumber * 7) + day - padsCount + 1) === today.getDate() })}>{(weekNumber * 7) + (day - padsCount + 1)}</div>
|
||||
<div className={styles['posters-container']}>
|
||||
{
|
||||
videosForMonth
|
||||
|
|
|
|||
Loading…
Reference in a new issue