Skip to content

Conversation

@microbit-robert
Copy link
Collaborator

This must have regressed when we updated Chakra?

The following warning is logged when using the as prop, and is fixed by pass the icon as a child instead.
Warning: Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()

@github-actions
Copy link

@microbit-matt-hillsdon
Copy link
Collaborator

Well spotted!

@microbit-matt-hillsdon microbit-matt-hillsdon merged commit 9e9fb88 into main Nov 27, 2024
2 checks passed
@microbit-matt-hillsdon microbit-matt-hillsdon deleted the compass-animation branch November 27, 2024 16:40
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.

3 participants