Error rendering React child object in Plasmic

I am having issue in one of the project in plamsic :
Plasmic: Encountered error while prepass rendering: Error: Objects are not valid as a React child (found: object with keys {ref}). If you meant to render a collection of children, use an array instead.
I think this happend when I install antd5 and used dropdown component from antd5. and I removed using component but still showing same error. also this error :
error - Error: Objects are not valid as a React child (found: object with keys {ref}). If you meant to render a collection of children, use an array instead.

Can you share where in the project you’re experiencing each of these errors?