opticSquid / hive

Social Media Management Platform using MERN stack
BSD 3-Clause "New" or "Revised" License
28 stars 17 forks source link

[Bug]: Change the component name of the component under website/src/Pages from App to any other name #43

Closed opticSquid closed 2 years ago

opticSquid commented 2 years ago

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 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

  1. Run the following commands from your terminal after installing the dependencies of website folder:
npm start
  1. See the error log.

Context (Environment)

No response

Code of Conduct

Tess-Vanta commented 2 years ago

I want to take this up under JWOC

opticSquid commented 2 years ago

Okay assigning you..