From a07e334bf68a6092a0e4808ef34a6c385219a620 Mon Sep 17 00:00:00 2001 From: Alexander Busse <102560752+AlexanderBuzz@users.noreply.github.com> Date: Mon, 7 Aug 2023 11:32:14 +0200 Subject: [PATCH] Update content/tutorials/build-apps/build-a-desktop-wallet-in-javascript.md Co-authored-by: Jackson Mills --- .../build-apps/build-a-desktop-wallet-in-javascript.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/tutorials/build-apps/build-a-desktop-wallet-in-javascript.md b/content/tutorials/build-apps/build-a-desktop-wallet-in-javascript.md index 69a4fbbb6a..c148fb27c3 100644 --- a/content/tutorials/build-apps/build-a-desktop-wallet-in-javascript.md +++ b/content/tutorials/build-apps/build-a-desktop-wallet-in-javascript.md @@ -461,7 +461,9 @@ Here we define three utility functions that will transform data we receive from 2. Modify `index.js` and add `ipcMain` to the imports from the `require('electron')`line. Then add the new helper file at the bottom of the include section: ```javascript +// Step 3 code additions - start const { app, BrowserWindow, ipcMain} = require('electron') +// Step 3 code additions - end const path = require('path') const xrpl = require("xrpl") // Step 3 code additions - start