Skip to content

Commit

Permalink
fix: using the correct ('navigate') step type within the parseNavigat…
Browse files Browse the repository at this point in the history
…eStep method (#317)
  • Loading branch information
almog-geva committed Sep 23, 2022
1 parent dedec05 commit 1131dac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SchemaUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ function parseScrollStep(step: object): ScrollStep {

function parseNavigateStep(step: object): NavigateStep {
return {
...parseStepWithTarget('scroll', step),
...parseStepWithTarget('navigate', step),
type: 'navigate',
target: parseTarget(step),
url: parseString(step, 'url'),
Expand Down

0 comments on commit 1131dac

Please sign in to comment.