Skip to content
Snippets Groups Projects
Commit fa9e5ca8 authored by Vitor Mateus De Almeida's avatar Vitor Mateus De Almeida
Browse files

Fix error when join a new meeting

parent ed8b3adb
No related branches found
No related tags found
No related merge requests found
......@@ -224,11 +224,7 @@ class Base extends Component {
render() {
const {
meetingExist,
locale,
} = this.props;
const { updateLoadingState } = this;
const stateControls = { updateLoadingState };
const { meetingExisted } = this.state;
return (
......@@ -237,11 +233,7 @@ class Base extends Component {
{
(!meetingExisted && !meetingExist && Auth.loggedIn)
? <LoadingScreen />
: (
<IntlStartup locale={locale} baseControls={stateControls}>
{this.renderByState()}
</IntlStartup>
)
: this.renderByState()
}
</Fragment>
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment