Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed Sep 17, 2024
1 parent 1d16fe0 commit 9965e40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/misc/testRun.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ function testNavigateEarly() {
test('Calling navigate() early in +client.js', async () => {
await page.goto(getServerUrl() + '/navigate-early')
await autoRetry(
async () => {
() => {
expectUrl('/markdown')
},
{ timeout: 5000 }
Expand Down
2 changes: 1 addition & 1 deletion vike/client/client-routing-runtime/navigate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ async function navigate(
): Promise<void> {
assertUsageUrlPathname(url, '[navigate(url)] url')

// If `hydrationCanBeAborted === false` (e.g. Vue), we can apply navigate() only after the hydration is done
// If `hydrationCanBeAborted === false` (e.g. Vue) then we can apply navigate() only after hydration is done
await firstRenderStartPromise

const scrollTarget: ScrollTarget = { preserveScroll: keepScrollPosition }
Expand Down

0 comments on commit 9965e40

Please sign in to comment.