Closed rahulgi closed 3 years ago
Somewhere in the upgrade from version 1.4.4 to version 1.5.0, an error got introduced that causes the button to throw an error when rendering.
The error is:
Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object.
.Very simple CodeSandbox. If you switch the
react-coinbase-commerce
version to 1.4.4 in thepackage.json
file, you'll see the button start to work again.
yup
Taking a look at this today, thanks for raising the issue! For now please keep on 1.4.4.
@rahulgi @Ghorbanian There was an issue with the webpack export and it should be fixed now in version 1.5.1.
Somewhere in the upgrade from version 1.4.4 to version 1.5.0, an error got introduced that causes the button to throw an error when rendering.
The error is:
Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object.
.Very simple CodeSandbox. If you switch the
react-coinbase-commerce
version to 1.4.4 in thepackage.json
file, you'll see the button start to work again.