Skip to content

Commit

Permalink
Fix duplicated push history
Browse files Browse the repository at this point in the history
  • Loading branch information
Legend-Master committed Sep 21, 2024
1 parent 24dbf2c commit df91716
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/data/events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export function setupNativeEvents(
resolve: false,
replace: a.hasAttribute("replace"),
scroll: !a.hasAttribute("noscroll"),
state: state && JSON.parse(state)
state: state ? JSON.parse(state) : undefined
});
}

Expand Down

0 comments on commit df91716

Please sign in to comment.