Skip to content

Commit 8c32738

Browse files
committed
refactor: remove unused argument
1 parent fd95f19 commit 8c32738

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/RouterView.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export const RouterViewImpl = defineComponent({
5555
// when the same component is used in different routes, the onVnodeMounted
5656
// hook doesn't trigger, so we need to observe the changing route to update
5757
// the instance on the record
58-
watch(matchedRouteRef, (to, from) => {
58+
watch(matchedRouteRef, to => {
5959
const currentName = props.name
6060
// to can be null if there isn't a matched route, e.g. not found
6161
if (to && !to.instances[currentName]) {

0 commit comments

Comments
 (0)