From f301e5c6da3892070b632eff8f7cbd15c6fe3070 Mon Sep 17 00:00:00 2001 From: Aasutosh Jha Date: Tue, 5 Jul 2022 08:13:05 +0545 Subject: [PATCH] Update README.md Was getting an error specifying that `TypeError: this.$toast.global.my_error is not a function. (In 'this.$toast.global.my_error()', 'this.$toast.global.my_error' is undefined)`. --- packages/toast/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/toast/README.md b/packages/toast/README.md index 138a44ae..861e9bf7 100755 --- a/packages/toast/README.md +++ b/packages/toast/README.md @@ -19,7 +19,7 @@ position: 'top-center', register: [ // Register custom toasts { - name: 'my-error', + name: 'my_error', message: 'Oops...Something went wrong', options: { type: 'error'