Browse Source

Removes extra refresh call

main
Eric Amodio 2 years ago
parent
commit
0e568e9b30
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      src/views/nodes/commitNode.ts

+ 1
- 2
src/views/nodes/commitNode.ts View File

@ -98,6 +98,7 @@ export class CommitNode extends ViewRefNode
new PullRequestNode(this.view as ViewsWithCommits, this, pr, commit),
);
}
// Refresh this node to show a spinner while the pull request is loading
this.view.triggerNodeChange(this);
});
@ -107,8 +108,6 @@ export class CommitNode extends ViewRefNode
() => this.view.triggerNodeChange(this),
() => {},
);
queueMicrotask(() => this.view.triggerNodeChange(this));
});
}
}

Loading…
Cancel
Save