Skip to content

Commit d3c3843

Browse files
committed
docs: fix example
1 parent b2c325e commit d3c3843

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

examples/wordpress/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"dev": "WP_HOME=http://localhost:3000 smooth dev"
55
},
66
"dependencies": {
7-
"@loadable/babel-plugin": "^5.7.1",
87
"graphql-tag": "^2.10.1",
98
"react": "^16.8.2",
109
"react-dom": "^16.8.2",

examples/wordpress/src/_app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const PAGE = gql`
1212

1313
export default function Page({ Component, ...props }) {
1414
return (
15-
<Query prefetch={false} query={PAGE}>
15+
<Query query={PAGE}>
1616
{({ data }) =>
1717
data && (
1818
<>

0 commit comments

Comments
 (0)