Skip to content

Commit 6ed5ff5

Browse files
committed
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)