Skip to content

Commit 5f1b104

Browse files
committed
fix: toast not shows text when classes defined
1 parent 84c7a41 commit 5f1b104

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/toasts.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ export class Toast {
211211
}
212212

213213
// Set text content
214-
else toast.innerText = this.message;
214+
toast.innerText = this.message;
215215

216216
// Append toast
217217
Toast._container.appendChild(toast);

0 commit comments

Comments
 (0)