chakra-react-select icon indicating copy to clipboard operation
chakra-react-select copied to clipboard

[BUG] Error: Uncaught [Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object. Check the render method of `ForwardRef`.]

Open hatajoe opened this issue 1 year ago • 0 comments

Description

When I run yarn jest, I expected pass the test to happen but the above error happened instead. This error happens in v4.9.0 or greater, but it doesn't happen in v4.8.0.

Do you have any ideas to solve this?

chakra-react-select Version

4.9.0

Link to Reproduction

https://codesandbox.io/p/devbox/yhhghw

TypeScript?

  • [X] Yes I use TypeScript

Steps to reproduce

  1. Go to https://codesandbox.io/p/devbox/yhhghw
  2. Click on New Terminal
  3. type yarn jest and hit return key
  4. See error

Operating System

  • [ ] macOS
  • [ ] Windows
  • [X] Linux
  • [ ] iOS/iPadOS
  • [ ] Android

Additional Information

No response

hatajoe avatar Aug 09 '24 03:08 hatajoe