New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Final Refactoring of the Frontend Codebase #1867
Conversation
akshaaatt
commented
Feb 17, 2022
- Last few files moved
- Mock Data moved
- Snapshots Updated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RecentListens, UserPageHeading and UserFeedback components are not stats strictly speaking, so I would put them somewhere else.
Maybe user
?
@@ -28,7 +28,7 @@ import { getPageProps } from "../utils/utils"; | |||
import { getEntityLink } from "../stats/utils"; | |||
import ComponentToImage from "./ComponentToImage"; | |||
|
|||
import fakeData from "./year-in-music-data.json"; | |||
import fakeData from "../../tests/__mocks__/year-in-music-data.json"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, well this line should just be deleted…
Thanks for cleaning up after me 😅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
…d `user` and remove fake data from YearInMusic.tsx
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you !
Good to merge