Просмотр исходного кода

fixed the login component not pass the object children

triste 7 лет назад
Родитель
Сommit
d9793524b7
1 измененных файлов с 1 добавлено и 3 удалено
  1. 1 3
      src/components/Login/index.js

+ 1 - 3
src/components/Login/index.js

@@ -113,9 +113,7 @@ class Login extends Component {
                 </Tabs>
                 {otherChildren}
               </React.Fragment>
-            ) : (
-              [...children]
-            )}
+            ) : children}
           </Form>
         </div>
       </LoginContext.Provider>