Skip to content

Commit ce4e2b0

Browse files
authored
fix: missing existence check (#2599)
1 parent 097b545 commit ce4e2b0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • frontend/apps/hub/src/routes/_authenticated/_layout/projects/$projectNameId/environments/$environmentNameId._v2

frontend/apps/hub/src/routes/_authenticated/_layout/projects/$projectNameId/environments/$environmentNameId._v2/containers.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ const ACTORS_VIEW_CONTEXT = {
108108
};
109109

110110
const IS_ACTOR_INTERNAL = (actor: StateActor) =>
111-
toRecord(actor.tags).type === "function";
111+
toRecord(actor?.tags)?.type === "function";
112112

113113
function Content() {
114114
const { nameId: projectNameId } = useProject();

0 commit comments

Comments
 (0)