-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This package breaks Chakra-UI Toasts. #2
Comments
Hey @OmkarK45, thank you for your feedback. I looked to your problem and you're right. There is something wrong with ToastManager when I import I can suggest a workaround at the moment. Instead of this library, you can use this renderer directly from https://github.com/mustaphaturhan/chakra-ui-markdown-renderer/blob/master/src/index.js. Just download raw file and use like a regular react component. Import from local files instead of chakra-ui-markdown-renderer while I look what causing the problem. |
Thanks for the reply! :) |
Update: It worked using the said method. Again, thanks! |
Thank you for this @mustaphaturhan , it helped me a lot! |
Hey guys. This issue fixed with |
Hey there,
I tried this package to render the markdown sent by the server, but apparently, it breaks the functionality of the native toast component in Chakra-UI.
Here's the error code.
can't perform a react state update on an unmounted component. this is a no-op, but it indicates a memory leak in your application. to fix, cancel all subscriptions and asynchronous tasks in the componentwillunmount method. ToastManager
You can check the above behavior here. Here .
The text was updated successfully, but these errors were encountered: