objectcomputing / check-ins

Other
7 stars 7 forks source link

Front-end import cleanup #2517

Closed timyates closed 1 week ago

timyates commented 1 week ago

This PR clears up 80 warnings issued by Sonar around imports in the React code in 2 commits (might be easier to review each commit separately)

  1. Imports from the same module should be merged

    Having the same module imported multiple times can affect code readability and maintainability.

  2. Unnecessary imports should be removed

    These imports do not contribute to the functionality of the application and only add extra weight to the JavaScript bundle, leading to potential performance and maintainability issues.