react-chat-components
react-chat-components copied to clipboard
Fix(message-list): properly use the filter prop
trafficstars
fix the filter rendering messages even if the filter returns false.
I have noticed that on the docs, it says that the filter prop is an Option to render only selected messages, however, it seems to only render the given messageRenderer component if the filter is true, if not it will render the normal styles for the message.
so this PR is fixing it, if the filter returns false, it won't render the whole message component either being custom or not.
Deploy Preview for react-chat-components ready!
| Name | Link |
|---|---|
| Latest commit | e8ebf48e04dbae20495669515e36c4dfd383115a |
| Latest deploy log | https://app.netlify.com/sites/react-chat-components/deploys/6356eb09824e5d0008a92e38 |
| Deploy Preview | https://deploy-preview-73--react-chat-components.netlify.app/ |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site settings.