Skip to content
TypeScript

Clear provider update actions while updating (#4676)

Julius Marminge6afbed3c36bb
diff --git a/apps/web/src/components/ProviderUpdatePrimaryNotification.tsx b/apps/web/src/components/ProviderUpdatePrimaryNotification.tsx
index a7f7a2c1e69..64399679acf 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