mirror of
https://github.com/ShayManor/github-readme-stats.git
synced 2026-12-02 11:53:48 +05:30
feat(api): add endpoint for retrieving growth data for the dashboard
This commit is contained in:
@@ -5,6 +5,7 @@ import { StatCards } from '../components/StatCards'
|
||||
import { UsersTable } from '../components/UsersTable'
|
||||
import { LatencyChart } from '../components/LatencyChart'
|
||||
import { HealthStrip } from '../components/HealthStrip'
|
||||
import { GrowthChart } from '../components/GrowthChart'
|
||||
|
||||
const REFRESH_MS = 15_000
|
||||
|
||||
@@ -45,6 +46,9 @@ export function DevScreen() {
|
||||
return (
|
||||
<Shell lastRefresh={lastRefresh}>
|
||||
{s ? <StatCards s={s} /> : <div className="text-white/40">loading…</div>}
|
||||
<div className="mt-6">
|
||||
<GrowthChart />
|
||||
</div>
|
||||
<div className="mt-6">
|
||||
<UsersTable />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user