OSDN Git Service

redirect to transactions from root path
authorYongfeng LI <wliyongfeng@gmail.com>
Sat, 30 Dec 2017 08:44:04 +0000 (16:44 +0800)
committerYongfeng LI <wliyongfeng@gmail.com>
Sat, 30 Dec 2017 08:44:04 +0000 (16:44 +0800)
src/features/app/components/Container.jsx

index 1f60b77..b6b7e86 100644 (file)
@@ -31,6 +31,10 @@ class Container extends React.Component {
     }
   }
 
+  componentWillMount() {
+    this.props.showRoot()
+  }
+
   componentWillReceiveProps(nextProps) {
     if (nextProps.authOk != this.props.authOk ||
         nextProps.configKnown != this.props.configKnown ||