From fe151cd1ea78488671dc921fb657b8627c42a2e5 Mon Sep 17 00:00:00 2001 From: Pavlos Koutoglou Date: Mon, 18 Nov 2024 12:54:17 +0200 Subject: [PATCH] fix(ui): safely access currentPlan properties in OrganizationRoute component (#8178) --- packages/insomnia/src/ui/routes/organization.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/insomnia/src/ui/routes/organization.tsx b/packages/insomnia/src/ui/routes/organization.tsx index 085000b2a4..88134d0b42 100644 --- a/packages/insomnia/src/ui/routes/organization.tsx +++ b/packages/insomnia/src/ui/routes/organization.tsx @@ -672,7 +672,7 @@ const OrganizationRoute = () => { {currentPlan && Boolean(currentPlan.type) && (
- {currentPlan.planName ?? formatCurrentPlanType(currentPlan.type)} Plan + {currentPlan?.planName ?? formatCurrentPlanType(currentPlan.type)} Plan
)}