Skip to content

Commit

Permalink
refactor: past 52 weeks
Browse files Browse the repository at this point in the history
  • Loading branch information
aahna-ashina committed Aug 1, 2024
1 parent 0ef3c69 commit e7a2419
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default function Home({ total_citizens_count, total_expired_passports, to

<div className='mt-4 w-full h-64 dark:bg-slate-800 dark:rounded-xl'>
{(total_citizens_count && active_citizens_count) ? (
<CitizenChart total_citizens_count={total_citizens_count} total_expired_passports={total_expired_passports} total_revoked_passports={total_revoked_passports} active_citizens_count={active_citizens_count} />
<CitizenChart total_citizens_count={total_citizens_count.slice(-52)} total_expired_passports={total_expired_passports.slice(-52)} total_revoked_passports={total_revoked_passports.slice(-52)} active_citizens_count={active_citizens_count.slice(-52)} />
) : (
<LoadingIndicator />
)}
Expand Down

0 comments on commit e7a2419

Please sign in to comment.