Skip to content

Commit

Permalink
fix: downloading spinner (#1568)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsanders11 authored Mar 21, 2024
1 parent 1fae876 commit cafdcf6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/renderer/state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -943,6 +943,9 @@ export class AppState {

const { version } = ver;

console.log(`State: Switching to Electron ${version}`);
this.version = version;

try {
await this.downloadVersion(ver);
} catch {
Expand All @@ -955,9 +958,6 @@ export class AppState {
return;
}

console.log(`State: Switching to Electron ${version}`);
this.version = version;

// If there's no current fiddle,
// or if the current fiddle is the previous version's template,
// then load the new version's template.
Expand Down

0 comments on commit cafdcf6

Please sign in to comment.