From d9793524b7a1061cb4eb5887b12633716d796570 Mon Sep 17 00:00:00 2001 From: triste Date: Tue, 20 Nov 2018 13:37:15 +0800 Subject: [PATCH] fixed the login component not pass the object children --- src/components/Login/index.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/Login/index.js b/src/components/Login/index.js index 5ddb70c7..8ac6d311 100644 --- a/src/components/Login/index.js +++ b/src/components/Login/index.js @@ -113,9 +113,7 @@ class Login extends Component { {otherChildren} - ) : ( - [...children] - )} + ) : children} -- GitLab