Skip to content

Commit 396f840

Browse files
authored
Merge pull request #97 from FabianSanchezD/fix/multiple-fixes
fix: remove campaign id from cards
2 parents d3fabf0 + c9e26aa commit 396f840

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

apps/backoffice-tokenization/src/app/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export default function RootLayout({
3737
<EscrowDialogsProvider>
3838
<EscrowAmountProvider>
3939
{children}
40-
<Toaster position="top-right" />
40+
<Toaster position="top-right" richColors />
4141
</EscrowAmountProvider>
4242
</EscrowDialogsProvider>
4343
</EscrowProvider>

apps/backoffice-tokenization/src/components/shared/campaign-card.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export function CampaignCard({ campaign }: CampaignCardProps) {
4646

4747
return (
4848
<SharedCampaignCard
49-
title={`#${id.slice(0, 3).toUpperCase()} ${name}`}
49+
title={name}
5050
description={description ?? ""}
5151
statusBadge={
5252
<div className="flex items-center gap-2">

apps/investor-tokenization/src/features/roi/components/campaign-card.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export function CampaignCard({ campaign, onClaimRoi }: CampaignCardProps) {
6565

6666
return (
6767
<SharedCampaignCard
68-
title={`#${id.slice(0, 3).toUpperCase()} ${title}`}
68+
title={title}
6969
description={description || "No description"}
7070
statusBadge={
7171
<>

apps/investor-tokenization/src/features/transparency/ProjectCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export const ProjectCard = ({
8585

8686
return (
8787
<SharedCampaignCard
88-
title={`#${campaign.id.slice(0, 3).toUpperCase()} ${name}`}
88+
title={`${name}`}
8989
description={description || "No description"}
9090
statusBadge={
9191
<>

0 commit comments

Comments
 (0)