ant-design / ant-design/cssinjs

Remove `theme` in `useStyleRegister`

Open
#205 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
287
Forks
80
PR merge metrics
No merged PRs in 30d

Description

Please remove the parameter as `theme.id` is not used any more: https://github.com/ant-design/cssinjs/pull/7/commits/c3f9985372cd2a605c3b6cb6443676bb8ac44f97

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the useStyleRegister entry point and inspect its parameter list and call sites. Remove the unused theme parameter and update affected calls so the project no longer expects it; done means the TypeScript code remains consistent.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.