Use Loader

pull/1/head
Erik Johnston 2015-07-16 16:20:00 +01:00
parent ebedf0b907
commit 47f4c0dfff
1 changed files with 3 additions and 1 deletions

View File

@ -31,6 +31,8 @@ var RoomAlias = ComponentBroker.get("atoms/create_room/RoomAlias");
var Presets = ComponentBroker.get("atoms/create_room/Presets");
var UserSelector = ComponentBroker.get("molecules/UserSelector");
var Loader = require("react-loader");
module.exports = React.createClass({
displayName: 'CreateRoom',
@ -99,7 +101,7 @@ module.exports = React.createClass({
var curr_phase = this.state.phase;
if (curr_phase == this.phases.CREATING) {
return (
<div>Creating...</div>
<Loader/>
);
} else {
var error_box = "";