diff --git a/components/calendar.js b/components/calendar.js index cb10817d6ad0dd533d8981961ce60fc2fe559de5..635a9a254dd0f14b2d8a550858891df36594cbd9 100644 --- a/components/calendar.js +++ b/components/calendar.js @@ -35,15 +35,11 @@ export default class CalendarView extends Component { render() { return ( - <View> - <View style={styles.container}> - <CalendarList - onDayPress={this.passDateToDayView.bind(this)} - markedDates={this.state.bleedingDaysInCalFormat} - markingType={'period'} - /> - </View> - </View> + <CalendarList + onDayPress={this.passDateToDayView.bind(this)} + markedDates={this.state.bleedingDaysInCalFormat} + markingType={'period'} + /> ) } } diff --git a/styles/index.js b/styles/index.js index c5605a1eb19a60f4654dda43f3c87ff365ba68e9..89c1f636492223550ae5c1f8489b11a8f0a4d254 100644 --- a/styles/index.js +++ b/styles/index.js @@ -5,10 +5,6 @@ export const secondaryColor = '#351c4d' export const fontOnPrimaryColor = 'white' export default StyleSheet.create({ - container: { - justifyContent: 'center', - alignItems: 'center' - }, welcome: { fontSize: 20, margin: 30,