From 6afbed3c36bbb731b9551ec60d7d12ed1fd1d2ee Mon Sep 17 00:00:00 2001 From: Julius Marminge Date: Mon, 27 Jul 2026 22:07:23 +0200 Subject: [PATCH] Clear provider update actions while updating (#4676) --- apps/web/src/components/ProviderUpdatePrimaryNotification.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/web/src/components/ProviderUpdatePrimaryNotification.tsx b/apps/web/src/components/ProviderUpdatePrimaryNotification.tsx index a7f7a2c1e69b3cecd9c2c1d99fb10aea17f11ee3..64399679acfe7e3fb5e6b6ac09419d0797f338aa 100644 --- a/apps/web/src/components/ProviderUpdatePrimaryNotification.tsx +++ b/apps/web/src/components/ProviderUpdatePrimaryNotification.tsx @@ -68,6 +68,10 @@ function updateProviderUpdateToast(input: { title: input.view.title, description: input.view.description, timeout: 0, + // Base UI merges toast updates with the existing toast. Explicitly clear + // the prompt action so its guarded Update handler cannot linger as a + // visible no-op while the update is running (or after it succeeds). + actionProps: undefined, data: { hideCopyButton: true, ...(input.view.dismissAfterVisibleMs !== undefined -- 2.54.0