Skip to content
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

Add reaction timestamp, sort reactions by it #109

Merged
merged 2 commits into from
Oct 10, 2023

Conversation

rygine
Copy link
Collaborator

@rygine rygine commented Oct 5, 2023

in this PR:

  • added sentAt field to cached reaction to track when a reaction was made
  • updated getReactionsByXmtpID to return reactions sorted by sentAt
  • updated useReactions hook to return reactions sorted by sentAt

@rygine rygine requested a review from a team October 5, 2023 22:08
@changeset-bot
Copy link

changeset-bot bot commented Oct 5, 2023

🦋 Changeset detected

Latest commit: 65275f1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@xmtp/react-sdk Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@rygine rygine requested a review from jhaaaa as a code owner October 5, 2023 22:11
@rygine rygine merged commit efc1103 into main Oct 10, 2023
4 checks passed
@rygine rygine deleted the rygine/add-reaction-timestamp branch October 10, 2023 17:00
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.

2 participants