Skip to content

Commit

Permalink
fix: update containerState in effect (podman-desktop#8961)
Browse files Browse the repository at this point in the history
Signed-off-by: Sonia Sandler <[email protected]>
  • Loading branch information
SoniaSandler authored Sep 19, 2024
1 parent 9c58c3f commit f9fdf74
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ let lastState = $state('');
let containerState = $state(container);
$effect(() => {
containerState = container;
if (lastState === 'STARTING' && containerState.state === 'RUNNING') {
restartTerminal();
}
Expand Down

0 comments on commit f9fdf74

Please sign in to comment.