diff --git a/src/components/GoalsComponents/MyGoal/components/GoalTitle.tsx b/src/components/GoalsComponents/MyGoal/components/GoalTitle.tsx index 2a028e14e..d8d9decb2 100644 --- a/src/components/GoalsComponents/MyGoal/components/GoalTitle.tsx +++ b/src/components/GoalsComponents/MyGoal/components/GoalTitle.tsx @@ -51,10 +51,11 @@ const GoalTitle = ({ goal, isImpossible }: GoalTitleProps) => { const renderTextPart = (part: string) => { const cleanPart = removeBackTicks(part); + console.log(cleanPart); const match = cleanPart.match(/zURL-(\d+)/); if (!match) { - return {part}; + return {cleanPart}; } const urlIndex = parseInt(match[1], 10);