Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 6ed5ff5

Browse files
Fixing #78
Fixed replaceRoute to invoke the correct internal method to perform the operation
1 parent ca9af97 commit 6ed5ff5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎index.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ class Router extends React.Component {
225225
};
226226

227227
const replaceRoute = (nextRoute) => {
228-
this.replaceRoute(nextRoute, navigator);
228+
this.onReplaceRoute(nextRoute, navigator);
229229
this.emitter.emit('replace', nextRoute);
230230
};
231231

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /