ant-design / ant-design/cssinjs
Remove `theme` in `useStyleRegister`
Open
- 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