Update src/RoomInvite.js
Co-Authored-By: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
275bd33a6c
commit
3b5aa5e9b8
1 changed files with 1 additions and 2 deletions
|
@ -204,7 +204,7 @@ function _showAnyInviteErrors(addrs, room, inviter) {
|
|||
|
||||
if (errorList.length > 0) {
|
||||
// React 16 doesn't let us use `errorList.join(<br />)` anymore, so this is our solution
|
||||
let description = <div>{errorList.map(e => <div key={e}>{e}</div>)}</div>;
|
||||
const description = <div>{errorList.map(e => <div key={e}>{e}</div>)}</div>;
|
||||
|
||||
const ErrorDialog = sdk.getComponent("dialogs.ErrorDialog");
|
||||
Modal.createTrackedDialog('Failed to invite the following users to the room', '', ErrorDialog, {
|
||||
|
@ -228,4 +228,3 @@ function _getDirectMessageRooms(addr) {
|
|||
});
|
||||
return rooms;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue