We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3359d81 commit 8558ec2Copy full SHA for 8558ec2
docs/pages/_app.js
@@ -338,7 +338,7 @@ export default function MyApp(props) {
338
}
339
340
MyApp.propTypes = {
341
- Component: PropTypes.func.isRequired,
+ Component: PropTypes.elementType.isRequired,
342
pageProps: PropTypes.object.isRequired,
343
};
344
examples/nextjs/pages/_app.js
@@ -32,6 +32,6 @@ export default function MyApp(props) {
32
33
34
35
36
37
0 commit comments