From 3c1dfc56d7c393f4075a70f4cfe035e9cc5cbea1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Deborah=20K=C3=B6pfer?= Date: Wed, 12 Jun 2024 11:00:50 +0200 Subject: [PATCH] style(asker-profile): optional chaining in case of missing match --- src/components/profile/AskerConsultingTypeData.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/profile/AskerConsultingTypeData.tsx b/src/components/profile/AskerConsultingTypeData.tsx index 9314cfafb..16db21287 100644 --- a/src/components/profile/AskerConsultingTypeData.tsx +++ b/src/components/profile/AskerConsultingTypeData.tsx @@ -37,7 +37,7 @@ export const AskerConsultingTypeData = () => { (session) => session.agencyId === resort.agency.id - ).topic.id === topic.id + )?.topic.id === topic.id )?.name || '' } semanticLevel="5"