From 96034132230eae876cc71b733bcdd58fc4e5e157 Mon Sep 17 00:00:00 2001 From: afc163 Date: Tue, 15 Sep 2015 17:36:27 +0800 Subject: [PATCH] fix enter-animation router demo --- components/enter-animation/demo/router.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/enter-animation/demo/router.md b/components/enter-animation/demo/router.md index 472e156b4..2e68930d9 100644 --- a/components/enter-animation/demo/router.md +++ b/components/enter-animation/demo/router.md @@ -8,7 +8,6 @@ router 组合的进场与出场动画。 ````jsx var ReactRouter = require('react-router'); -var history = require('react-router/lib/HashHistory').history; var Router = ReactRouter.Router; var Route = ReactRouter.Route; var Link = ReactRouter.Link; @@ -72,7 +71,7 @@ var Page2 = React.createClass({ } }); React.render(( - +