Skip to content

fix: keep follow request badge in sync - #1011

Open
saurabhhhcodes wants to merge 1 commit into
Shivayan09:mainfrom
saurabhhhcodes:fix/follow-request-badge-race-1002
Open

fix: keep follow request badge in sync#1011
saurabhhhcodes wants to merge 1 commit into
Shivayan09:mainfrom
saurabhhhcodes:fix/follow-request-badge-race-1002

Conversation

@saurabhhhcodes

Copy link
Copy Markdown

Closes #1002

Summary

  • derive the pending-request badge from the current received-request list
  • remove accepted or rejected requests from local state after confirmation
  • avoid stale concurrent refetches overwriting the badge count

Validation

  • git diff --check
  • npx eslint components/FollowActivityPanel.tsx
  • npx tsc --noEmit

@vercel

vercel Bot commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Someone is attempting to deploy a commit to the Shivayan's projects Team on Vercel.

A member of the Team first needs to authorize it.

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.

[Bug]: Follow request badge count can become wrong after fast accept/reject actions

1 participant