Pārlūkot izejas kodu

fixed the login component not pass the object children

triste 7 gadi atpakaļ
vecāks
revīzija
d9793524b7
1 mainītis faili ar 1 papildinājumiem un 3 dzēšanām
  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>