From a8b3de788eb19e59828e5519adf58499fe715c85 Mon Sep 17 00:00:00 2001 From: hbucius Date: Mon, 7 Aug 2017 19:02:07 +0800 Subject: [PATCH] Update Link.jsx --- packages/react-server/core/components/Link.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-server/core/components/Link.jsx b/packages/react-server/core/components/Link.jsx index 3f985b1c2..0e154272e 100644 --- a/packages/react-server/core/components/Link.jsx +++ b/packages/react-server/core/components/Link.jsx @@ -40,7 +40,7 @@ module.exports = React.createClass({ bundleData, reuseDom, }); - if (this.props.onClick){ + if (this.props.onClick) { this.props.onClick(e) } } else {