From 31a35fdc9188aee8f8097c6530bb0c77b29cb880 Mon Sep 17 00:00:00 2001 From: Amelia Vance Date: Fri, 26 Jun 2026 11:57:42 -0400 Subject: [PATCH] Add undefined null check to orgName in VSDashboardGate --- frontend/src/components/Gates/VSDashboardGate.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/Gates/VSDashboardGate.tsx b/frontend/src/components/Gates/VSDashboardGate.tsx index a8bfc5e3a..a70a41375 100644 --- a/frontend/src/components/Gates/VSDashboardGate.tsx +++ b/frontend/src/components/Gates/VSDashboardGate.tsx @@ -78,7 +78,7 @@ export const VSDashboardGate: React.FC<{ const endNumRegex = /\s\b([1-9]|10)$/; return ( - {orgName.startsWith('DHS Region') && endNumRegex.test(orgName) && ( + {orgName?.startsWith('DHS Region') && endNumRegex.test(orgName) && (