mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-22 20:01:57 +00:00
Remove propTypes
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user