😅COMPLETED adding profile images for /community page! Had to re-refactor the code again for First Joined, Top, Best, Most Streaks leaderboards
After discovering the more performant approach of using forEach() and push() to add `accounts` details to the original data arrays without having to change the data structure too much, I refactored the code for the previous leaderboards YET AGAIN.
But glad to do so, I guess. Now the code is cleaner, more readable, and more consistent across the methods for each leaderboard. 🤷♂️
And I'm FINALLY done with adding profile images to the /community page! Wow this took a week at least!
😅 Next: adding profile images to /notifications, /_goal, /roadmap, posts/_slug, home pg
But glad to do so, I guess. Now the code is cleaner, more readable, and more consistent across the methods for each leaderboard. 🤷♂️
And I'm FINALLY done with adding profile images to the /community page! Wow this took a week at least!
😅 Next: adding profile images to /notifications, /_goal, /roadmap, posts/_slug, home pg