Skip to content

Conversation

@umegbewe
Copy link

The innerRef prop is deprecated in styled-components v5+ and react-router v6+. This causes ui to crash a bit after login

Closes #5311

What changed?

  • Refactored Link component to use React.forwardRef
  • Updated SubRouterTabs and Nav to pass ref instead of innerRef

The innerRef prop is deprecated in styled-components v5+ and
react-router v6+. This causes React 19 to crash

- Refactored Link component to use React.forwardRef
- Updated SubRouterTabs and Nav to pass ref instead of innerRef

Signed-off-by: Umegbewe Nwebedu <nwebedujunior55@gmail.com>
Signed-off-by: Umegbewe Nwebedu <nwebedujunior55@gmail.com>
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.

UI crashes after login due to deprecated innerRef prop in React 19

1 participant