Skip to content

Commit

Permalink
Fix demo (CustomHelper) arrow event
Browse files Browse the repository at this point in the history
closes #215
  • Loading branch information
elrumordelaluz committed Dec 5, 2019
1 parent 5dc6dc9 commit f37fffc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/demo/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ function MyCustomHelper({ current, content, totalSteps, gotoStep, close }) {
style={{ position: 'absolute' }}
>
<Arrow
onClick={() => gotoStep(current + 1)}
onClick={() => gotoStep(current - 1)}
disabled={current === 0}
className="CustomHelper__navArrow"
/>
Expand Down

0 comments on commit f37fffc

Please sign in to comment.