@@ -99,7 +101,7 @@ export default React.createClass({
diff --git a/src/components/structures/MyGroups.js b/src/components/structures/MyGroups.js
index 49a2367db8..3eb694acce 100644
--- a/src/components/structures/MyGroups.js
+++ b/src/components/structures/MyGroups.js
@@ -61,9 +61,6 @@ export default withMatrixClient(React.createClass({
this._fetch();
},
- componentWillUnmount: function() {
- },
-
_onCreateGroupClick: function() {
const CreateGroupDialog = sdk.getComponent("dialogs.CreateGroupDialog");
Modal.createDialog(CreateGroupDialog);
@@ -73,7 +70,7 @@ export default withMatrixClient(React.createClass({
this.props.matrixClient.getJoinedGroups().done((result) => {
this.setState({groups: result.groups, error: null});
}, (err) => {
- this.setState({result: null, error: err});
+ this.setState({groups: null, error: err});
});
},
@@ -93,12 +90,12 @@ export default withMatrixClient(React.createClass({
);
});
content =
-
{_t('You are a member of these groups')}:
+
{_t('You are a member of these groups:')}
{groupNodes}
;
} else if (this.state.error) {
content =
- Error whilst fetching joined groups
+ {_t('Error whilst fetching joined groups')}
;
} else {
content =
;
diff --git a/src/components/views/dialogs/CreateGroupDialog.js b/src/components/views/dialogs/CreateGroupDialog.js
index c436d938df..23194f20a5 100644
--- a/src/components/views/dialogs/CreateGroupDialog.js
+++ b/src/components/views/dialogs/CreateGroupDialog.js
@@ -130,10 +130,10 @@ export default React.createClass({
render: function() {
const BaseDialog = sdk.getComponent('views.dialogs.BaseDialog');
- const Loader = sdk.getComponent("elements.Spinner");
+ const Spinner = sdk.getComponent('elements.Spinner');
if (this.state.creating) {
- return
;
+ return
;
}
let createErrorNode;
@@ -154,29 +154,32 @@ export default React.createClass({
>