diff --git a/govtool/frontend/src/components/organisms/DashboardGovernanceActionDetails.tsx b/govtool/frontend/src/components/organisms/DashboardGovernanceActionDetails.tsx index 6b4332f9a..69d0ea764 100644 --- a/govtool/frontend/src/components/organisms/DashboardGovernanceActionDetails.tsx +++ b/govtool/frontend/src/components/organisms/DashboardGovernanceActionDetails.tsx @@ -137,7 +137,7 @@ export const DashboardGovernanceActionDetails = () => { url={state ? state.url : data.proposal.url} title={title} links={state ? state?.references : data.proposal?.references} - about={state ? state?.abstract : data.proposal?.abstract} + abstract={state ? state?.abstract : data.proposal?.abstract} motivation={state ? state?.motivation : data.proposal?.motivation} rationale={state ? state?.rationale : data.proposal?.rationale} yesVotes={state ? state.yesVotes : data.proposal.yesVotes} diff --git a/govtool/frontend/src/components/organisms/GovernanceActionDetailsCard.tsx b/govtool/frontend/src/components/organisms/GovernanceActionDetailsCard.tsx index ba6311519..32da05638 100644 --- a/govtool/frontend/src/components/organisms/GovernanceActionDetailsCard.tsx +++ b/govtool/frontend/src/components/organisms/GovernanceActionDetailsCard.tsx @@ -20,7 +20,7 @@ type GovernanceActionDetailsCardProps = { details?: ActionDetailsType; url: string; title?: string; - about?: string; + abstract?: string; motivation?: string; rationale?: string; yesVotes: number; @@ -48,7 +48,7 @@ export const GovernanceActionDetailsCard = ({ url, title, links, - about, + abstract, motivation, rationale, yesVotes, @@ -93,7 +93,7 @@ export const GovernanceActionDetailsCard = ({ /> )} You voted {{vote}} on this proposal\non {{date}} (Epoch {{epoch}})", diff --git a/govtool/frontend/src/pages/GovernanceActionDetails.tsx b/govtool/frontend/src/pages/GovernanceActionDetails.tsx index 1abc674b9..ad1666baa 100644 --- a/govtool/frontend/src/pages/GovernanceActionDetails.tsx +++ b/govtool/frontend/src/pages/GovernanceActionDetails.tsx @@ -158,7 +158,7 @@ export const GovernanceActionDetails = () => { details={state ? state.details : data.proposal.details} url={state ? state.url : data.proposal.url} title={title} - about={state ? state?.abstract : data.proposal?.abstract} + abstract={state ? state?.abstract : data.proposal?.abstract} motivation={ state ? state?.motivation : data.proposal?.motivation } diff --git a/govtool/frontend/src/stories/GovernanceActionDetailsCard.stories.ts b/govtool/frontend/src/stories/GovernanceActionDetailsCard.stories.ts index 6ad71c7a8..5caf7f9cf 100644 --- a/govtool/frontend/src/stories/GovernanceActionDetailsCard.stories.ts +++ b/govtool/frontend/src/stories/GovernanceActionDetailsCard.stories.ts @@ -59,7 +59,7 @@ async function assertGovActionDetails( export const GovernanceActionDetailsCardComponent: Story = { args: { ...commonArgs, - about: "Example about section", + abstract: "Example about section", rationale: "Example rationale section", motivation: "Example motivation section", }, @@ -86,7 +86,7 @@ export const GovernanceActionDetailsDrep: Story = { ...commonArgs, isDashboard: true, isVoter: true, - about: "Example about section", + abstract: "Example about section", rationale: "Example rationale section", motivation: "Example motivation section", },