Explorar el Código

fixed the login component not pass the object children

triste hace 7 años
padre
commit
d9793524b7
Se han modificado 1 ficheros con 1 adiciones y 3 borrados
  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>