You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 19, 2019. It is now read-only.
for the above problem please help me
I am not even performing those actions really but i dont why the login comoponent is reloading is it problem with routing or with component its self
the url is first like this " http://localhost:7890/html/index.html#/login "
then after clicking the button even though no click event is provided to the button the url is changing as follows " http://localhost:7890/html/index.html?+username=USERNAME#/login "
USERNAMEis what we type in the input textbox named username
at first both password and username is passing as parameters and i dont know what i did , now only username is going and the scren means the components is loaded again
please help me with this
class Login extends React.Component {
constructor(props) {
super(props);
this.state = {
LoggedIn:false,
userName:'',
password:'',
emailId:'',
active:''
}
}
componentWillMount() {
console.log(this.state);
}
componentDidMount() {
}
render() {
}
}
export default Login;
The text was updated successfully, but these errors were encountered: