From 2693b30c51900f97172dc1cfa4a2cdb2766d20ba Mon Sep 17 00:00:00 2001 From: Ritik Sharma Date: Wed, 20 Dec 2023 19:39:39 +0530 Subject: [PATCH] fix: managed event type string (#12891) * fix: managed event type string * Update EventTypeSingleLayout.tsx Updated the translation string with the right value. * Update EventTypeSingleLayout.tsx Bring back formMethods variable. --------- Co-authored-by: Alex van Andel --- apps/web/components/eventtype/EventTypeSingleLayout.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/components/eventtype/EventTypeSingleLayout.tsx b/apps/web/components/eventtype/EventTypeSingleLayout.tsx index 7a9a517eff..fccd003fef 100644 --- a/apps/web/components/eventtype/EventTypeSingleLayout.tsx +++ b/apps/web/components/eventtype/EventTypeSingleLayout.tsx @@ -207,7 +207,7 @@ function EventTypeSingleLayout({ icon: Users, info: `${t(eventType.schedulingType?.toLowerCase() ?? "")}${ isManagedEventType - ? ` - ${t("count_members", { count: formMethods.watch("children").length || 0 })}` + ? ` - ${t("number_member", { count: formMethods.watch("children").length || 0 })}` : "" }`, });