ff-stream-web

git clone git://archive.git.mtrnord.blog/MTRNord/ff-stream-web.git
Log | Files | Refs | README | LICENSE

commit 18cdef13c175f6411702a3bf2d235d74398ea0c7
parent b43943cf44c333ef4d5957eb0a29f830a530ebd7
Author: 胡正伟 <331946763@qq.com>
Date:   Fri,  9 Oct 2015 17:03:30 +0800

Fix static method error

Diffstat:
Msrc/components/Link/Link.js | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/components/Link/Link.js b/src/components/Link/Link.js @@ -20,7 +20,7 @@ class Link extends Component { onClick: PropTypes.func, }; - static handleClick = event => { + static handleClick(event) { let allowTransition = true; let clickResult; @@ -44,7 +44,7 @@ class Link extends Component { this.props && this.props.state || null, this.props && this.props.to || (link.pathname + link.search)); } - }; + } render() { const { to, children, ...props } = this.props;