marcobiedermann / spotify-clone

🎵 Simple Spotify clone using their Web API.
https://marcobiedermann-spotify-clone.netlify.com/
MIT License
4 stars 0 forks source link

refactor: Functional Component #344

Closed marcobiedermann closed 2 years ago

marcobiedermann commented 2 years ago

Use function definition instead of function assignment for functional React components

codecov-commenter commented 2 years ago

Codecov Report

Merging #344 (9ac96e1) into main (11d5e84) will increase coverage by 0.01%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #344      +/-   ##
==========================================
+ Coverage   97.23%   97.24%   +0.01%     
==========================================
  Files          34       34              
  Lines         217      218       +1     
  Branches       21       21              
==========================================
+ Hits          211      212       +1     
  Misses          6        6              
Impacted Files Coverage Δ
src/js/components/Album/index.tsx 92.30% <100.00%> (ø)
src/js/components/Albums/index.tsx 88.88% <100.00%> (ø)
src/js/components/Artist/index.tsx 100.00% <100.00%> (ø)
src/js/components/Artists/index.tsx 88.88% <100.00%> (ø)
src/js/components/Aside/index.tsx 100.00% <100.00%> (ø)
src/js/components/Button/index.tsx 100.00% <100.00%> (ø)
src/js/components/Categories/index.tsx 88.88% <100.00%> (ø)
src/js/components/Category/index.tsx 100.00% <100.00%> (ø)
src/js/components/Content/index.tsx 100.00% <100.00%> (ø)
src/js/components/Error/index.tsx 100.00% <100.00%> (ø)
... and 15 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 11d5e84...9ac96e1. Read the comment docs.