Code cleaned
This commit is contained in:
@@ -4,28 +4,13 @@ import {
|
||||
View
|
||||
} from 'react-native';
|
||||
|
||||
import Lesson from './src/components/Lesson';
|
||||
import Categories from './src/components/Categories';
|
||||
import LessonCategories from './src/components/LessonCategories';
|
||||
import AnatomyCard from './src/components/AnatomyCard';
|
||||
import Router from './src/Router';
|
||||
|
||||
export default class meme extends Component {
|
||||
render() {
|
||||
return (
|
||||
<View style={{ flex: 1 }}>
|
||||
{/*
|
||||
<Lesson
|
||||
lessonHeaderText={'IMA LI MLIJEKA?'} lessonHeaderBackroundColor={'#7270a8'}
|
||||
questions={
|
||||
['Kako funkcioniše produkcija mlijeka?',
|
||||
'Uspostavljanje i zadržavanje zaliha mlijeka kad beba ne doji',
|
||||
'Prejak refleks otpuštanja mlijeka ili prekomjerne zalihe',
|
||||
'Koje biljke izbjegavati za vrijeme dojenja']}
|
||||
/>*/
|
||||
}
|
||||
<Router />
|
||||
|
||||
<Router />
|
||||
</View>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ const LessonCategories = () => {
|
||||
const { categoriesContainerStyle, categoriesListStyle } = styles;
|
||||
|
||||
const onLessonSelected = (selectedLesson) => {
|
||||
switch(selectedLesson){
|
||||
switch (selectedLesson) {
|
||||
case 'IMA LI MLIJEKA?':
|
||||
Actions.lesson({
|
||||
lessonHeaderText: 'IMA LI MLIJEKA?',
|
||||
|
||||
Reference in New Issue
Block a user