diff --git a/src/state.ts b/src/state.ts index 15b58d7..d29fcd1 100644 --- a/src/state.ts +++ b/src/state.ts @@ -8,7 +8,7 @@ import { ToastTypes, } from './types'; -let toastsCounter = 0; +let toastsCounter = 1; class Observer { subscribers: Array<(toast: ExternalToast | ToastToDismiss) => void>;