Skip to content

Commit a30e48f

Browse files
author
Taylor Mitchell
committed
this should fix the tests
1 parent bc1c150 commit a30e48f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎CalendarPicker/index.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ export default class CalendarPicker extends Component {
418418
config={{ ..._swipeConfig, ...swipeConfig }}
419419
>
420420
{this.state.currentView === "months" &&
421-
<View styles={styles.calendar}>
421+
<View style={styles.calendar}>
422422
<MonthsViewHeader
423423
styles={styles}
424424
currentYear={currentYear}
@@ -443,7 +443,7 @@ export default class CalendarPicker extends Component {
443443
</View>
444444
}
445445
{this.state.currentView === "years" &&
446-
<View styles={styles.calendar}>
446+
<View style={styles.calendar}>
447447
<YearsViewHeader
448448
styles={styles}
449449
initialDate={moment(initialDate)}
@@ -465,7 +465,7 @@ export default class CalendarPicker extends Component {
465465
</View>
466466
}
467467
{this.state.currentView === "days" &&
468-
<View styles={styles.calendar}>
468+
<View style={styles.calendar}>
469469
<HeaderControls
470470
styles={styles}
471471
currentMonth={currentMonth}

0 commit comments

Comments
 (0)