From d9cfaceff9653084acce275aaaaae7b056e6b217 Mon Sep 17 00:00:00 2001 From: Kacper Wojciechowski <39823706+jog1t@users.noreply.github.com> Date: Fri, 13 Jun 2025 23:18:19 +0200 Subject: [PATCH] fix: missing existence check --- .../environments/$environmentNameId._v2/containers.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/apps/hub/src/routes/_authenticated/_layout/projects/$projectNameId/environments/$environmentNameId._v2/containers.tsx b/frontend/apps/hub/src/routes/_authenticated/_layout/projects/$projectNameId/environments/$environmentNameId._v2/containers.tsx index 6ac5802649..fcc4afa3a0 100644 --- a/frontend/apps/hub/src/routes/_authenticated/_layout/projects/$projectNameId/environments/$environmentNameId._v2/containers.tsx +++ b/frontend/apps/hub/src/routes/_authenticated/_layout/projects/$projectNameId/environments/$environmentNameId._v2/containers.tsx @@ -108,7 +108,7 @@ const ACTORS_VIEW_CONTEXT = { }; const IS_ACTOR_INTERNAL = (actor: StateActor) => - toRecord(actor.tags).type === "function"; + toRecord(actor?.tags)?.type === "function"; function Content() { const { nameId: projectNameId } = useProject();