Browse Source

Remove propTypes

main
Alex Krolick 7 years ago
parent
commit
f9225e2562
  1. 8
      examples/context/multiple-contexts.js

8
examples/context/multiple-contexts.js

@ -23,14 +23,6 @@ function Toolbar(props) {
}
class App extends React.Component {
static propTypes = {
theme: PropTypes.string,
signedInUser: PropTypes.shape({
id: number,
name: string,
}),
};
render() {
const {signedInUser, theme} = this.props;

Loading…
Cancel
Save