Refactor: Remove Hardcoded Mock Rivalry Data from TopRivalriesTicker - #8756
Refactor: Remove Hardcoded Mock Rivalry Data from TopRivalriesTicker#8756tmdeveloper007 wants to merge 1 commit into
Conversation
|
This PR aligns with previous decisions to enhance the reliability and robustness of the |
d12f68e to
e8e80e9
Compare
|
Someone is attempting to deploy a commit to the jhasourav07's projects Team on Vercel. A member of the Team first needs to authorize it. |
Aamod007
left a comment
There was a problem hiding this comment.
Thanks for cleaning this up! Removing the hardcoded \MOCK_RIVALRIES\ from \components/TopRivalriesTicker.tsx\ and defaulting the props to an empty array makes the component cleaner and ready for dynamic data. It prevents dummy data from flashing before the actual API call completes. Excellent refactoring.
Description
Removed the hardcoded
MOCK_RIVALRIESarray fromcomponents/TopRivalriesTicker.tsx. Component now defaults to empty array.Pillar
Checklist
CONTRIBUTING.mdfile.Note
Please assign this PR to the
tmdeveloper007account.Closes #8747