Skip to content

Commit

Permalink
Format by prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
TomKalina committed Nov 14, 2023
1 parent da54d8e commit 0299891
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/src/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ export class Router {
}

protected handleInitialPageVisit(page: Page): void {
const hash = window.location.hash;
if(!this.page.url.includes(hash)) {
const hash = window.location.hash
if (!this.page.url.includes(hash)) {
this.page.url += window.location.hash
}
this.setPage(page, { preserveState: true }).then(() => fireNavigateEvent(page))
Expand Down

0 comments on commit 0299891

Please sign in to comment.