From ff0517be3e00b7a1a80fb56bd97d12c26d620f7f Mon Sep 17 00:00:00 2001 From: Shmuel Leider Date: Tue, 4 Oct 2022 15:31:02 -0400 Subject: [PATCH] docs: update bluetooth fiddle example event name to trigger correct event (#35894) * Fix event type spelling for bluetooth fiddle example * docs: Fix event type spelling for bluetooth documentation fiddle example --- docs/fiddles/features/web-bluetooth/preload.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/fiddles/features/web-bluetooth/preload.js b/docs/fiddles/features/web-bluetooth/preload.js index 0732ea315ff7..0c21fcce9388 100644 --- a/docs/fiddles/features/web-bluetooth/preload.js +++ b/docs/fiddles/features/web-bluetooth/preload.js @@ -2,5 +2,5 @@ const { contextBridge, ipcRenderer } = require('electron') contextBridge.exposeInMainWorld('electronAPI', { bluetoothPairingRequest: (callback) => ipcRenderer.on('bluetooth-pairing-request', callback), - bluetoothPairingResponse: (response) => ipcRenderer.send('bluetooth-pairing-respnse', response) + bluetoothPairingResponse: (response) => ipcRenderer.send('bluetooth-pairing-response', response) }) \ No newline at end of file