diff --git a/src/components/Proposal/View/AboutBidProcess.tsx b/src/components/Proposal/View/AboutBidProcess.tsx index a5b7f33..c558a18 100644 --- a/src/components/Proposal/View/AboutBidProcess.tsx +++ b/src/components/Proposal/View/AboutBidProcess.tsx @@ -72,7 +72,7 @@ export default function AboutBidProcess({ proposal }: Props) { description: t('page.proposal_bidding_tendering.pitch_proposal_description'), status: pitchConfig.status, statusText: t(pitchConfig.statusText, { - title: pitchProposal?.title, + title: pitchProposal?.title.trim(), date: Time(pitchProposal?.start_at).fromNow(), proposalEndDate: Time(pitchProposal?.finish_at).fromNow(), }), @@ -82,7 +82,7 @@ export default function AboutBidProcess({ proposal }: Props) { description: t('page.proposal_bidding_tendering.tender_proposal_description'), status: tenderConfig.status, statusText: t(tenderConfig.statusText, { - title: winnerTenderProposal?.title, + title: winnerTenderProposal?.title.trim(), date: Time(start_at).fromNow(), proposalEndDate: formattedProposalEndDate, total: tenderProposals?.total, diff --git a/src/components/Proposal/View/AboutPitchProcess.tsx b/src/components/Proposal/View/AboutPitchProcess.tsx index a0fb8e5..9434526 100644 --- a/src/components/Proposal/View/AboutPitchProcess.tsx +++ b/src/components/Proposal/View/AboutPitchProcess.tsx @@ -119,7 +119,7 @@ export default function AboutPitchProcess({ proposal }: Props) { description: t('page.proposal_bidding_tendering.pitch_proposal_description'), status: pitchConfig.status, statusText: t(pitchConfig.statusText, { - title: proposal.title, + title: proposal.title.trim(), date: formattedDate, proposalEndDate: formattedProposalEndDate, }), @@ -129,7 +129,7 @@ export default function AboutPitchProcess({ proposal }: Props) { description: t('page.proposal_bidding_tendering.tender_proposal_description'), status: tenderConfig.status, statusText: t(tenderConfig.statusText, { - title: winnerTenderProposal?.title, + title: winnerTenderProposal?.title.trim(), date: formattedDate, proposalEndDate: formattedProposalEndDate, total: tenderProposals?.total, diff --git a/src/components/Proposal/View/AboutTenderProcess.tsx b/src/components/Proposal/View/AboutTenderProcess.tsx index 24a59b2..1aa1b2c 100644 --- a/src/components/Proposal/View/AboutTenderProcess.tsx +++ b/src/components/Proposal/View/AboutTenderProcess.tsx @@ -115,7 +115,7 @@ export default function AboutTenderProcess({ proposal }: Props) { description: t('page.proposal_bidding_tendering.pitch_proposal_description'), status: pitchConfig.status, statusText: t(pitchConfig.statusText, { - title: pitchProposal?.title, + title: pitchProposal?.title.trim(), date: Time(pitchProposal?.start_at).fromNow(), proposalEndDate: Time(pitchProposal?.finish_at).fromNow(), }), @@ -125,7 +125,7 @@ export default function AboutTenderProcess({ proposal }: Props) { description: t('page.proposal_bidding_tendering.tender_proposal_description'), status: tenderConfig.status, statusText: t(tenderConfig.statusText, { - title: proposal.title, + title: proposal.title.trim(), date: Time(start_at).fromNow(), proposalEndDate: Time(finish_at).fromNow(), total: tenderProposals?.total,