Skip to content

Conversation

frederikcreemers
Copy link
Contributor

This PR adds a useUnreads hook. While we do already have a prop for this on the Session component, the hook makes it easier to get the unreads lower down in the tree, without needing to pass them down from where you're rendering the Session.

@frederikcreemers
Copy link
Contributor Author

LGTM'd by @Asha20 on Slack

@frederikcreemers frederikcreemers merged commit 19f7223 into master Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant