Skip to content

fix: always show zap count on post cards, including 0#468

Merged
barrydeen merged 1 commit intomainfrom
fix/zap-count-zero-display
Apr 17, 2026
Merged

fix: always show zap count on post cards, including 0#468
barrydeen merged 1 commit intomainfrom
fix/zap-count-zero-display

Conversation

@barrydeen
Copy link
Copy Markdown
Owner

Summary

  • Post cards previously hid the zap amount entirely when a note had no zaps, leaving a blank space next to the bolt icon.
  • Now the count always renders (showing 0 when there are no zaps), matching how like and repost counts behave.

Test plan

  • Open the feed and confirm posts with no zaps show 0 next to the bolt icon
  • Confirm posts with zaps still display the formatted total (e.g. 1.2k)
  • Confirm the count is hidden while a zap is in progress (loading state)

@barrydeen barrydeen merged commit 4c0e6b9 into main Apr 17, 2026
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