Skip to content

Commit

Permalink
Removed timed close ad
Browse files Browse the repository at this point in the history
  • Loading branch information
blarfoon committed Dec 10, 2021
1 parent a2ac093 commit 83552de
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/common/reducers/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -2804,16 +2804,6 @@ export function launchInstance(instanceName) {
);
dispatch(updateStartedInstance({ instanceName, pid: ps.pid }));

setTimeout(() => {
if (
!closed &&
getState().modals.find(v => v.modalType === 'InstanceStartupAd')
) {
closed = true;
dispatch(closeModal());
}
}, 5000);

ps.stdout.on('data', data => {
console.log(data.toString());
if (
Expand Down Expand Up @@ -2861,6 +2851,7 @@ export function launchInstance(instanceName) {
) {
dispatch(closeModal());
}

if (code !== 0 && errorLogs) {
setTimeout(() => {
dispatch(
Expand Down

0 comments on commit 83552de

Please sign in to comment.