Fix default content in devtools event sender (#10699)
It regressed from `{\n\n}` to an empty string in #10391
Signed-off-by: Tulir Asokan <tulir@maunium.net>
			
			
				pull/28788/head^2
			
			
		
							parent
							
								
									ca102c4d36
								
							
						
					
					
						commit
						2486e7a90a
					
				|  | @ -182,7 +182,7 @@ export const TimelineEventEditor: React.FC<IEditorProps> = ({ mxEvent, onBack }) | |||
|         return cli.sendEvent(context.room.roomId, eventType, content || {}); | ||||
|     }; | ||||
| 
 | ||||
|     let defaultContent = ""; | ||||
|     let defaultContent: string | undefined; | ||||
| 
 | ||||
|     if (mxEvent) { | ||||
|         const originalContent = mxEvent.getContent(); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Tulir Asokan
						Tulir Asokan