Skip to content
This repository was archived by the owner on Aug 5, 2023. It is now read-only.

Fix console warning about refs & the Chakra Popover Trigger #152

@danhannigan

Description

@danhannigan

Here's the warning that comes through:

next-dev.js?3515:20 Warning: Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?

Check the render method of `ForwardRef(LinkComponent)`.
    at PopoverTrigger

Likely something with React 18 and Chakra, and how they're playing together.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggood first issueGood for newcomers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions