'Objects are not valid as a React child (found: [object Error]). If you meant to render a collection of children, use an array instead.]

i think the error is from the checkout screen but i just cant find the '<' which is make believe that the error origin is from node_modules can anyone find the fix fast because i have to show a app by morning 17 may 2022. any sort of help will be appreciated but i need to fix this because i cant do payment on stripe

error

[Unhandled promise rejection: Error: Objects are not valid as a React child (found: [object Error]). If you meant to render a collection of children, use an array instead.]



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source