Skip to content

Commit ab1816a

Browse files
committed
fix(web): close provider update prompt on start
1 parent 9d2cc19 commit ab1816a

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import {
1616
getProviderUpdateInitialToastView,
1717
getProviderUpdateProgressToastView,
1818
getProviderUpdateRejectedToastView,
19-
getProviderUpdateRunningToastView,
2019
providerUpdateNotificationKey,
2120
shouldShowPrimaryProviderUpdateToast,
2221
type ProviderUpdateToastView,
@@ -220,10 +219,7 @@ export function ProviderUpdatePrimaryNotification() {
220219
};
221220
activeToastRef.current = activeUpdate;
222221

223-
const runningView = getProviderUpdateRunningToastView(providerCount);
224-
if (!shouldShowPrimaryProviderUpdateToast(runningView)) {
225-
toastManager.close(toastId);
226-
}
222+
toastManager.close(toastId);
227223

228224
void (async () => {
229225
const results = [];

0 commit comments

Comments
 (0)