Skip to content

Commit

Permalink
Fix execise 04 - proptypes (#129)
Browse files Browse the repository at this point in the history
- missing dependency
  • Loading branch information
paulodiovani authored and DusanSacha committed Jun 24, 2017
1 parent ef005a3 commit 6185515
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions exercises/proptypes/problem.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ control, or create a new `index.jsx` for this exercise.

```
import React from 'react';
import PropTypes from 'prop-types';
export default class TodoBox extends React.Component {
// Omitted
Expand Down
1 change: 1 addition & 0 deletions exercises/proptypes/problem.ko.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ MyComponent.propTypes = {

```
import React from 'react';
import PropTypes from 'prop-types';
export default class TodoBox extends React.Component {
// 생략
Expand Down
1 change: 1 addition & 0 deletions exercises/proptypes/problem.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ MyComponent.propTypes = {

```
import React from 'react';
import PropTypes from 'prop-types';
export default class TodoBox extends React.Component {
// 省略
Expand Down
1 change: 1 addition & 0 deletions exercises/proptypes/solution/views/index.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React from 'react';
import PropTypes from 'prop-types';

export default class TodoBox extends React.Component {
render() {
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
"bin": "./learnyoureact.js",
"dependencies": {
"babel": "^5.8.23",
"babelify": "~7.2.0",
"babel-preset-react": "~6.1.18",
"babel-preset-es2015": "~6.1.18",
"babel-preset-react": "~6.1.18",
"babelify": "~7.2.0",
"bl": "~0.9.4",
"body-parser": "~1.12.3",
"browserify": "~10.1.3",
Expand All @@ -17,9 +17,10 @@
"express-react-views": "~0.9.0",
"hyperquest": "~1.2.0",
"js-beautify": "^1.5.10",
"prop-types": "^15.5.10",
"react": "~0.14.0",
"reactify": "~1.1.1",
"react-dom": "~0.14.0",
"reactify": "~1.1.1",
"through2": "~0.6.5",
"workshopper-adventure": "~3.4.5",
"workshopper-boilerplate": "~1.1.0",
Expand Down

0 comments on commit 6185515

Please sign in to comment.