mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 12:16:53 +02:00
Update src/RoomInvite.js
Co-Authored-By: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
275bd33a6c
commit
3b5aa5e9b8
@ -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…
x
Reference in New Issue
Block a user