In website folder which contains the react app, there should be no imported child component of same name as of the name of parent function.
Current Behavior
In website folder which contains the react app, there is a component under website/src/pages which has a name App.jsx when imported to App.js under /src folder to render it , being of the same name the import conflicts.. Change the name of the file under
website/src/pages from App.jsx to any other suitable name and change the name of the class too that it exports. After that change the import in the website/src/App.js to reflect the change.
Steps to Reproduce
Run the following commands from your terminal after installing the dependencies of website folder:
npm start
See the error log.
Context (Environment)
No response
Code of Conduct
[X] I agree to follow this project's Code of Conduct
Expected Behavior
In website folder which contains the react app, there should be no imported child component of same name as of the name of parent function.
Current Behavior
In website folder which contains the react app, there is a component under
website/src/pages
which has a name App.jsx when imported to App.js under/src
folder to render it , being of the same name the import conflicts.. Change the name of the file underwebsite/src/pages
fromApp.jsx
to any other suitable name and change the name of the class too that it exports. After that change the import in thewebsite/src/App.js
to reflect the change.Steps to Reproduce
website
folder:Context (Environment)
No response
Code of Conduct