Skip to content

Commit 3c9f4c6

Browse files
committed
remove unused vars
1 parent 3b04a0e commit 3c9f4c6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/solid-router/src/router.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1887,8 +1887,6 @@ export class Router<
18871887
try {
18881888
const next = this.latestLocation
18891889
const prevLocation = this.state.resolvedLocation
1890-
const hrefChanged = prevLocation.href !== next.href
1891-
const pathChanged = prevLocation.pathname !== next.pathname
18921890

18931891
// Cancel any pending matches
18941892
this.cancelMatches()

0 commit comments

Comments
 (0)