From c00c28ab5137afa7a629ab7b61dc0048593b256b Mon Sep 17 00:00:00 2001 From: vinaybadgujar102 Date: Sat, 1 Jun 2024 14:39:14 +0530 Subject: [PATCH] use comma instead of pipe symbol --- .../GoalsComponents/MyGoal/GoalItemSummary/BudgetSummary.tsx | 2 +- .../GoalsComponents/MyGoal/GoalItemSummary/GoalSummary.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/GoalsComponents/MyGoal/GoalItemSummary/BudgetSummary.tsx b/src/components/GoalsComponents/MyGoal/GoalItemSummary/BudgetSummary.tsx index 771a4c706..94402707e 100644 --- a/src/components/GoalsComponents/MyGoal/GoalItemSummary/BudgetSummary.tsx +++ b/src/components/GoalsComponents/MyGoal/GoalItemSummary/BudgetSummary.tsx @@ -7,7 +7,7 @@ const BudgetSummary = ({ goal }: { goal: GoalItem }) => { const summaryParts = [perDaySummary, onDaysSummary, timeConstraintsSummary, perWeekSummary].filter(Boolean); - return {summaryParts.join(" | ")}; + return {summaryParts.join(", ")}; }; export default BudgetSummary; diff --git a/src/components/GoalsComponents/MyGoal/GoalItemSummary/GoalSummary.tsx b/src/components/GoalsComponents/MyGoal/GoalItemSummary/GoalSummary.tsx index 352a2bd1a..2128e41c1 100644 --- a/src/components/GoalsComponents/MyGoal/GoalItemSummary/GoalSummary.tsx +++ b/src/components/GoalsComponents/MyGoal/GoalItemSummary/GoalSummary.tsx @@ -7,7 +7,7 @@ const GoalSummary = ({ goal }: { goal: GoalItem }) => { const summaryParts = [sublistSummary, durationSummary, dueDateSummary, habitSummary].filter(Boolean); - return {summaryParts.join(" | ")}; + return {summaryParts.join(", ")}; }; export default GoalSummary;