Remove HasError from Session

This commit is contained in:
Tainan Felipe 2019-08-16 16:51:02 -03:00
parent 6473e6fa3c
commit 68ac00d086
2 changed files with 0 additions and 4 deletions

View File

@ -51,7 +51,6 @@ class AuthenticatedHandler extends Component {
setError(codeError) {
const { dispatch } = this.props;
Session.set('hasError', true);
dispatch('hasError');
if (codeError) Session.set('codeError', codeError);
}

View File

@ -17,8 +17,6 @@ const { showParticipantsOnLogin } = APP_CONFIG;
const CHAT_ENABLED = Meteor.settings.public.chat.enabled;
class JoinHandler extends Component {
constructor(props) {
super(props);
this.fetchToken = this.fetchToken.bind(this);
@ -41,7 +39,6 @@ class JoinHandler extends Component {
setError(codeError) {
const { dispatch } = this.props;
Session.set('hasError', true);
if (codeError) Session.set('codeError', codeError);
dispatch('hasError');
}