Update src/RoomInvite.js
Co-Authored-By: Michael Telatynski <7t3chguy@gmail.com>pull/21833/head
							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…
	
		Reference in New Issue
	
	 Travis Ralston
						Travis Ralston