Skip to content

chore: type comment author shape - #39

Merged
github-actions[bot] merged 1 commit into
mainfrom
cursor/small-meaningful-improvement-1474
Jun 4, 2026
Merged

chore: type comment author shape#39
github-actions[bot] merged 1 commit into
mainfrom
cursor/small-meaningful-improvement-1474

Conversation

@cursor

@cursor cursor Bot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Added a shared CommentAuthor type for comment author metadata.
  • Updated the comment section to use the typed comment.author value instead of an inline shape assertion.

Why it matters

This keeps comment author typing centralized with the rest of the database types and removes duplicated inline type shape from render logic.

Validation

  • npx eslint "src/types/database.ts" "src/components/comment-section.tsx"
Open in Web View Automation 

Co-authored-by: Sahar <SaharPak@users.noreply.github.com>
@github-actions
github-actions Bot marked this pull request as ready for review June 4, 2026 10:06
@github-actions
github-actions Bot merged commit 663312c into main Jun 4, 2026
1 check passed
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