diff --git a/agenta-web/src/components/Playground/ViewNavigation.tsx b/agenta-web/src/components/Playground/ViewNavigation.tsx index 730ba8f90f..489ebd2c17 100644 --- a/agenta-web/src/components/Playground/ViewNavigation.tsx +++ b/agenta-web/src/components/Playground/ViewNavigation.tsx @@ -96,12 +96,7 @@ const ViewNavigation: React.FC = ({ if (netWorkError) { retriedOnce.current = true setRetrying(true) - const waitForAppPromise = waitForAppToStart({ - appId, - variant, - timeout: isDemo() ? 40000 : 6000, - }) - waitForAppPromise + waitForAppToStart({appId, variant, timeout: isDemo() ? 40000 : 6000}) .then((result) => { if (result) { stopperRef.current = result.stopper