Skip to content

Commit d235536

Browse files
authored
Merge pull request #53 from devrnt/fix/playground
Fix/playground
2 parents e461b6f + 095b12c commit d235536

File tree

6 files changed

+3672
-4110
lines changed

6 files changed

+3672
-4110
lines changed

examples/gatsby/package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,22 @@
55
"version": "0.1.0",
66
"author": "Kyle Mathews <[email protected]>",
77
"dependencies": {
8-
"gatsby": "^2.32.3",
9-
"gatsby-image": "^2.11.0",
10-
"gatsby-plugin-manifest": "^2.12.0",
11-
"gatsby-plugin-offline": "^3.10.0",
12-
"gatsby-plugin-react-helmet": "^3.10.0",
13-
"gatsby-plugin-sharp": "^2.14.1",
14-
"gatsby-source-filesystem": "^2.11.0",
15-
"gatsby-transformer-sharp": "^2.12.0",
8+
"gatsby": "^3.9.1",
9+
"gatsby-image": "^3.9.0",
10+
"gatsby-plugin-manifest": "^3.9.0",
11+
"gatsby-plugin-offline": "^4.9.0",
12+
"gatsby-plugin-react-helmet": "^4.9.0",
13+
"gatsby-plugin-sharp": "^3.9.0",
14+
"gatsby-source-filesystem": "^3.9.0",
15+
"gatsby-transformer-sharp": "^3.9.0",
1616
"prop-types": "^15.7.2",
17-
"react": "^17.0.1",
18-
"react-dom": "^17.0.1",
17+
"react": "^17.0.2",
18+
"react-dom": "^17.0.2",
1919
"react-helmet": "^6.1.0",
20-
"react-use-wizard": "^1.0.1"
20+
"react-use-wizard": "^1.1.2"
2121
},
2222
"devDependencies": {
23-
"prettier": "2.2.1"
23+
"prettier": "2.3.2"
2424
},
2525
"keywords": [
2626
"gatsby"

examples/gatsby/src/pages/index.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,13 @@ const Footer = () => {
3535
</p>
3636
</div>
3737
<div>
38-
<button onClick={previousStep} disabled={isLoading || isFirstStep}>
38+
<button
39+
onClick={() => previousStep()}
40+
disabled={isLoading || isFirstStep}
41+
>
3942
Previous
4043
</button>
41-
<button onClick={nextStep} disabled={isLoading || isLastStep}>
44+
<button onClick={() => nextStep()} disabled={isLoading || isLastStep}>
4245
Next
4346
</button>
4447
</div>

0 commit comments

Comments
 (0)