docs: Fix incorrect highlight in an example snippet (#36700)
Fix incorrect highlight in an example snippet
At the moment, the "Communicating between processes" `main.js` snippet highlights the line containing `})` when the relevant line is `ipcMain.handle('ping', () => 'pong')`.
	
	
This commit is contained in:
		
					parent
					
						
							
								5fd7a43970
							
						
					
				
			
			
				commit
				
					
						8c837fda4f
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -202,7 +202,7 @@ Then, set up your `handle` listener in the main process. We do this _before_ | |||
| loading the HTML file so that the handler is guaranteed to be ready before | ||||
| you send out the `invoke` call from the renderer. | ||||
| 
 | ||||
| ```js {1,11} title="main.js" | ||||
| ```js {1,12} title="main.js" | ||||
| const { app, BrowserWindow, ipcMain } = require('electron') | ||||
| const path = require('path') | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 MAPGarrett
				MAPGarrett