diff --git a/frontend/src/app/vsr/page.tsx b/frontend/src/app/vsr/page.tsx index fb94e6a..f31a013 100644 --- a/frontend/src/app/vsr/page.tsx +++ b/frontend/src/app/vsr/page.tsx @@ -142,7 +142,8 @@ const VeteranServiceRequest: React.FC = () => {
- {Array.from({ length: numChildrenThisGender }, (_, index) => ( + {/* Cap it at 100 children per gender to avoid freezing web browser */} + {Array.from({ length: Math.min(numChildrenThisGender, 100) }, (_, index) => (
{