I created a new JS file for react, however, i didn't export yet thus i got the below error message in the browser console
Warning: React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: object. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.
Check your code at index.js:9.
My issue is, that the error is not showing up on the actual browser like the image below
image from actual browesr