Skip to content

Commit acd758c

Browse files
committed
Remove replaceState (deprecated, all attrs are provided)
1 parent c8c114b commit acd758c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/RouterMixin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ var RouterMixin = {
196196
if (this.setRoutingState) {
197197
this.setRoutingState(state, cb);
198198
} else {
199-
this.replaceState(state, cb);
199+
this.setState(state, cb);
200200
}
201201
}
202202

0 commit comments

Comments
 (0)