diff --git a/App/app/Router.js b/App/app/Router.js index 74783cfe..7e32d92d 100755 --- a/App/app/Router.js +++ b/App/app/Router.js @@ -23,7 +23,8 @@ import Scan from './screens/Scan' import Calendar from './screens/Calendar' import Home from './screens/Home' - +import febrada from './screens/febrada' +import compras from './screens/compras' /*Icons*/ @@ -183,6 +184,12 @@ const Stack = createStackNavigator({ }, calendarDetail:{ screen:calendarDetail + }, + febrada:{ + screen:febrada + }, + compras:{ + screen: compras } diff --git a/App/app/screens/Calendar.js b/App/app/screens/Calendar.js index bb216504..01a1e59e 100644 --- a/App/app/screens/Calendar.js +++ b/App/app/screens/Calendar.js @@ -49,13 +49,16 @@ class Calendar extends React.Component { {key: 'fourth', weekDay: 'seg', day:15}, ], + CP:'SEM' }; componentDidMount() { this.props.getEvents(this.props.user); - console.log('didMount'); - console.log(this.props.events); + + this.props.getSessions(this.props.userDetails.token) + + } _openDetails=()=>{ @@ -135,6 +138,7 @@ class Calendar extends React.Component { }; + constructor() { super() @@ -272,7 +276,7 @@ class Calendar extends React.Component { textAlign:'center', }}> - WEB DEVELOPMENT + {this.props.careerPath} - asd +