Skip to content

Commit

Permalink
fix: markdown not rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
ncomerci committed Apr 18, 2024
1 parent 2307859 commit ed39b00
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/components/Proposal/View/AboutBidProcess.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
}),
Expand All @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions src/components/Proposal/View/AboutPitchProcess.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}),
Expand All @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions src/components/Proposal/View/AboutTenderProcess.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
}),
Expand All @@ -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,
Expand Down

0 comments on commit ed39b00

Please sign in to comment.