We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47594f4 commit e5466f3Copy full SHA for e5466f3
src/components/link.js
@@ -1,7 +1,7 @@
1
import React from "react";
2
import {connect} from "react-redux";
3
4
-function preventDefault(e) {
+function preventDefaultImpl(e) {
5
e.preventDefault();
6
e.stopPropagation();
7
}
@@ -13,7 +13,7 @@ function LinkBase({
13
href,
14
currentHostUrl,
15
navigateTo = navigateToImpl,
16
- preventDefault = preventDefault,
+ preventDefault = preventDefaultImpl,
17
disableAjaxLinks = global.disableAjaxLinks || global.disableAjaxNavigation,
18
...otherProps
19
}) {
0 commit comments