diff --git a/apps/web/src/app/citizens/page.tsx b/apps/web/src/app/citizens/page.tsx index 16ed1811..fde46ddf 100644 --- a/apps/web/src/app/citizens/page.tsx +++ b/apps/web/src/app/citizens/page.tsx @@ -106,16 +106,17 @@ export default function CitizensPage() {
- {(isLoading ? Array.from({ length: 6 }) : citizens).map( - (citizen, index) => - citizen ? ( - - ) : ( -
- ) + {isLoading ? ( + Array.from({ length: 6 }).map((_, index) => ( +
+ )) + ) : ( + citizens.map((citizen) => ( + + )) )}