Skip to content

Commit 9b017b7

Browse files
committed
bump deps
1 parent 04b9888 commit 9b017b7

3 files changed

Lines changed: 1997 additions & 2186 deletions

File tree

app/electron/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ async function createWindow() {
120120
// before the DOM is ready
121121
win.webContents.once("dom-ready", async () => {
122122
await installExtension([REDUX_DEVTOOLS, REACT_DEVELOPER_TOOLS])
123-
.then((name) => console.log(`Added Extension: ${name}`))
123+
.then((name) => console.log(`Added Extension: ${name}`))
124124
.catch((err) => console.log("An error occurred: ", err))
125125
.finally(() => {
126126
require("electron-debug")(); // https://github.com/sindresorhus/electron-debug
@@ -228,7 +228,7 @@ app.on("web-contents-created", (event, contents) => {
228228
// Log and prevent the app from navigating to a new page if that page's origin is not whitelisted
229229
if (!validOrigins.includes(parsedUrl.origin)) {
230230
console.error(
231-
`The application tried to redirect to the following address: '${parsedUrl}'. This origin is not whitelisted and the attempt to navigate was blocked.`
231+
`The application tried to navigate to the following address: '${parsedUrl}'. This origin is not whitelisted and the attempt to navigate was blocked.`
232232
);
233233

234234
contentsEvent.preventDefault();

0 commit comments

Comments
 (0)