Commit fa578ba 1 parent 458470b commit fa578ba Copy full SHA for fa578ba
File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ class TodoList extends React.Component {
62
62
<tbody>
63
63
<Todo title="Shopping">Milk</Todo>
64
64
<Todo title="Hair cut">13:00</Todo>
65
- <Todo>15:00</Todo>
65
+ <Todo title="Learn React" >15:00</Todo>
66
66
</tbody>
67
67
</table>
68
68
</div>
@@ -81,7 +81,7 @@ class Todo extends React.Component {
81
81
}
82
82
}
83
83
Todo.propTypes = {
84
- title: PropTypes.number .isRequired
84
+ title: PropTypes.string .isRequired
85
85
};
86
86
87
87
class TodoForm extends React.Component {
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ class TodoList extends React.Component {
61
61
<tbody>
62
62
<Todo title="Shopping">Milk</Todo>
63
63
<Todo title="Hair cut">13:00</Todo>
64
- <Todo>15:00</Todo>
64
+ <Todo title="Learn React" >15:00</Todo>
65
65
</tbody>
66
66
</table>
67
67
</div>
@@ -80,7 +80,7 @@ class Todo extends React.Component {
80
80
}
81
81
}
82
82
Todo.propTypes = {
83
- title: PropTypes.number .isRequired
83
+ title: PropTypes.string .isRequired
84
84
};
85
85
86
86
class TodoForm extends React.Component {
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ class TodoList extends React.Component {
58
58
<tbody>
59
59
<Todo title="Shopping">Milk</Todo>
60
60
<Todo title="Hair cut">13:00</Todo>
61
- <Todo>15:00</Todo>
61
+ <Todo title="Learn React" >15:00</Todo>
62
62
</tbody>
63
63
</table>
64
64
</div>
@@ -77,7 +77,7 @@ class Todo extends React.Component {
77
77
}
78
78
}
79
79
Todo.propTypes = {
80
- title: PropTypes.number .isRequired
80
+ title: PropTypes.string .isRequired
81
81
};
82
82
83
83
class TodoForm extends React.Component {
You can’t perform that action at this time.
0 commit comments