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 a97f1e2 commit 225a555Copy full SHA for 225a555
www/src/components/Layout.js
@@ -20,7 +20,9 @@ const propTypes = {
20
}).isRequired,
21
22
23
- location: PropTypes.object.isRequired,
+ location: PropTypes.shape({
24
+ pathname: PropTypes.string.isRequired,
25
+ }).isRequired,
26
};
27
28
const NavItem = ({ active, to, children }) => (
www/src/templates/component.js
@@ -33,7 +33,9 @@ const propTypes = {
33
).isRequired,
34
35
36
37
38
39
data: PropTypes.shape({
40
metadata: PropTypes.shape({
41
displayName: PropTypes.string,
0 commit comments