Skip to content

Commit 5ecf31d

Browse files
committed
refactor: Remove unnecessary code in Terminal.blade.php
1 parent e937d30 commit 5ecf31d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

resources/views/livewire/project/shared/terminal.blade.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,7 @@ function initializeWebSocket() {
6969
};
7070
socket.onclose = () => {
7171
console.log('WebSocket connection closed');
72-
setInterval(() => {
73-
$wire.dispatch('error', 'Connection to terminal lost, please refresh the page.');
74-
}, 2000);
72+
7573
};
7674
}
7775
}

0 commit comments

Comments
 (0)