From 6c1d6612a418aa59d7d79bfeb0e4549c1b0e4215 Mon Sep 17 00:00:00 2001 From: Rohit Rajan Date: Sun, 21 Sep 2025 12:45:27 +0530 Subject: [PATCH] feat: invalidate runs during robot run --- src/pages/MainPage.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/MainPage.tsx b/src/pages/MainPage.tsx index 7f2b5b3b..2067fc88 100644 --- a/src/pages/MainPage.tsx +++ b/src/pages/MainPage.tsx @@ -142,8 +142,9 @@ export const MainPage = ({ handleEditRecording, initialContent }: MainPageProps) const handleRunRecording = useCallback((settings: RunSettings) => { createAndRunRecording(runningRecordingId, settings).then((response: CreateRunResponseWithQueue) => { const { browserId, runId, robotMetaId, queued } = response; - + setIds({ browserId, runId, robotMetaId }); + invalidateRuns(); navigate(`/runs/${robotMetaId}/run/${runId}`); if (queued) {