Skip to content

fix(typography): fix conditional hook call in Heading#50

Merged
wangdicoder merged 1 commit intomasterfrom
dev
Mar 13, 2026
Merged

fix(typography): fix conditional hook call in Heading#50
wangdicoder merged 1 commit intomasterfrom
dev

Conversation

@wangdicoder
Copy link
Owner

Summary

  • Move useContext above the early return in Heading component to fix the react-hooks/rules-of-hooks eslint error

Changeset

  • Patch bump for @tiny-design/react (fixed versioning bumps all packages together)

Test plan

  • pnpm lint passes with 0 errors

@wangdicoder wangdicoder merged commit 582bc46 into master Mar 13, 2026
1 check passed
@github-actions github-actions bot mentioned this pull request Mar 13, 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