Skip to content

Commit ac7d83c

Browse files
committed
chore(link): remove commented code
1 parent 0ba6dc5 commit ac7d83c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Diff for: src/components/link.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,7 @@ export default {
5454
this.exactActiveClass == null
5555
? exactActiveClassFallback
5656
: this.exactActiveClass
57-
// const compareTarget = location.path
58-
// ? createRoute(null, location, null, router)
59-
// : route
57+
6058
const compareTarget = route.redirectedFrom
6159
? createRoute(null, normalizeLocation(route.redirectedFrom), null, router)
6260
: route

0 commit comments

Comments
 (0)