Skip to content

Commit

Permalink
fix: Prop Types import from react to prop-types
Browse files Browse the repository at this point in the history
  • Loading branch information
tenso2006 committed May 26, 2018
1 parent 0b2338e commit d61941c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/chapter1/further-develop-app/build-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ You can continue your app development based on the generated Electrode app. Let'
`<electrode-app>/src/client/components/home.jsx`:

```js
import React, {PropTypes} from "react";
import React from "react";
import PropTypes from "prop-types";
import {connect} from "react-redux";
import {toggleCheck, incNumber, decNumber} from "../actions";
import "../styles/home.css";
Expand Down

0 comments on commit d61941c

Please sign in to comment.