type invalid error when using the modal
firaskrichi opened this issue · 0 comments
firaskrichi commented
React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in. Check the render method of BillSummaryContainer
I get the error on the console but the UI works well and the modal shows.
Any ideas why it's doing this?