Skip to content

Commit

Permalink
fix await ui.loadURL() (#1300)
Browse files Browse the repository at this point in the history
  • Loading branch information
juliangruber authored Feb 5, 2024
1 parent 6c55b76 commit c5136bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ module.exports = async function (ctx) {
ui.webContents.openDevTools()

console.log('Loading the WebUI')
ui.loadURL('http://localhost:3000/')
await ui.loadURL('http://localhost:3000/')
}

// UX trick to avoid jittery UI while browser initializes chrome
Expand Down

0 comments on commit c5136bb

Please sign in to comment.