We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6782cb commit 9343302Copy full SHA for 9343302
src/alerts/sagas.ts
@@ -35,7 +35,9 @@ function* handleShowAlert(action: ReturnType<typeof alertsShowAlert>): Generator
35
try {
36
const alertAction = yield* take(chan);
37
// the dismiss actions will have called this already, but other actions don't
38
- toaster.dismiss(key);
+ if (alertAction !== 'dismiss') {
39
+ toaster.dismiss(key);
40
+ }
41
42
yield* put(alertsDidShowAlert(action.domain, action.specific, alertAction));
43
} finally {
0 commit comments