Skip to content

Commit

Permalink
Fix merge
Browse files Browse the repository at this point in the history
  • Loading branch information
domchristie committed Sep 21, 2023
1 parent 2a08adc commit e126158
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/drive/visit.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export class Visit {
updateHistory,
shouldCacheSnapshot,
acceptsStreamResponse,
direction
direction,
initiator
} = {
...defaultOptions,
Expand Down
2 changes: 1 addition & 1 deletion src/core/session.js
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ export class Session {
}

notifyApplicationAfterVisitingLocation(location, action, direction, target) {
return dispatch("turbo:visit", { detail: { url: location.href, action, direction, target } })
return dispatch("turbo:visit", { target, detail: { url: location.href, action, direction } })
}

notifyApplicationBeforeCachingSnapshot() {
Expand Down

0 comments on commit e126158

Please sign in to comment.