diff --git a/components/toast/toast.service.ts b/components/toast/toast.service.ts index 5cc87024..5626a832 100644 --- a/components/toast/toast.service.ts +++ b/components/toast/toast.service.ts @@ -15,7 +15,9 @@ export interface ConfigInterface { iconType?: string; mask?: boolean; } - +@Injectable({ + providedIn: 'root' +}) @Injectable() export class Toast { static timeout = null;