Files
hats-app/app
Ichsan Kurniawan 2853954cbc Add optional chaining for party and people props
Guard against null/undefined values by adding optional chaining to property accesses. In AssignmentDetailComponent.tsx, use party?.name, party?.photo, party?.description and make initials accept a possibly undefined name (name?.split...). In AssignedPeople.tsx, check people?.length and use people?.slice and people?.length in the UI so rendering won't crash when the people prop is missing or undefined. These changes prevent runtime errors when props are absent.
2026-05-07 16:53:23 +07:00
..
2025-12-23 18:49:34 +07:00
2026-02-09 16:22:14 +07:00
2025-12-19 13:57:55 +07:00
2025-12-19 13:57:55 +07:00
2025-12-19 13:57:55 +07:00
2025-12-19 13:57:55 +07:00
2026-02-09 16:22:14 +07:00
2026-02-09 16:22:14 +07:00