Skip to content
This repository was archived by the owner on Oct 10, 2026. It is now read-only.

Commit 6afbed3

Browse files
Clear provider update actions while updating (pingdotgg#4676)
1 parent eea3ea4 commit 6afbed3

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎apps/web/src/components/ProviderUpdatePrimaryNotification.tsx‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@ function updateProviderUpdateToast(input: {
6868
title: input.view.title,
6969
description: input.view.description,
7070
timeout: 0,
71+
// Base UI merges toast updates with the existing toast. Explicitly clear
72+
// the prompt action so its guarded Update handler cannot linger as a
73+
// visible no-op while the update is running (or after it succeeds).
74+
actionProps: undefined,
7175
data: {
7276
hideCopyButton: true,
7377
...(input.view.dismissAfterVisibleMs !== undefined

0 commit comments

Comments
 (0)