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