OpenLake/OpenLake--Website
View on GitHubRefactor: Replace Static GitHub Stats with Dynamic Data
Open
#7 opened on Apr 20, 2025
DevLabsenhancementhelp wanted
Repository metrics
- Stars
- (2 stars)
- PR merge metrics
- (PR metrics pending)
Description
Issue
Currently, the GitHub statistics displayed are hardcoded and do not reflect real-time data. We need to replace these static values with dynamic stats by creating a reusable hook.
Task
- Create a custom hook useStats to fetch and return live GitHub stats.
- Replace the existing static values with data from the hook.
- Ensure fallback values or error handling is in place if the API fails.