mirror of
https://github.com/ascribe/onion.git
synced 2024-11-15 01:25:17 +01:00
Add AscribeSpinner to LogoutContainer
This commit is contained in:
parent
2b00bfeb4f
commit
69e75f5ce0
@ -3,10 +3,16 @@
|
||||
import React from 'react';
|
||||
import Router from 'react-router';
|
||||
|
||||
import AscribeSpinner from './ascribe_spinner';
|
||||
|
||||
import UserActions from '../actions/user_actions';
|
||||
import { alt, altWhitelabel, altUser, altThirdParty } from '../alt';
|
||||
|
||||
import AppConstants from '../constants/application_constants';
|
||||
|
||||
import { getLangText } from '../utils/lang_utils';
|
||||
|
||||
|
||||
let baseUrl = AppConstants.baseUrl;
|
||||
|
||||
let LogoutContainer = React.createClass({
|
||||
@ -30,7 +36,14 @@ let LogoutContainer = React.createClass({
|
||||
},
|
||||
|
||||
render() {
|
||||
return null;
|
||||
return (
|
||||
<div className="ascribe-loading-position">
|
||||
<AscribeSpinner color='dark-blue' size='lg'/>
|
||||
<h3 className="text-center">
|
||||
{getLangText('Just a sec, we\'re logging you out...')}
|
||||
</h3>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user