An opinionated toast component for React.
Added empty arrow function to close button (#185)
Alexander Marin Marin0415a5125d26
diff --git a/src/index.tsx b/src/index.tsxindex 5d242ed..71fbb8c 100644--- a/src/index.tsx+++ b/src/index.tsx@@ -296,7 +296,7 @@ const Toast = (props: ToastProps) => {data-close-buttononClick={disabled || !dismissible- ? undefined+ ? () => {}: () => {deleteToast();toast.onDismiss?.(toast);