Skip to content

Commit f169fca

Browse files
committed
change: order of new constitution detials element
1 parent d272dfd commit f169fca

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

govtool/frontend/src/components/molecules/GovernanceActionNewConstitutionDetailsTabContent.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@ export const GovernanceActionNewConstitutionDetailsTabContent = ({
1313
<Box>
1414
<GovernanceActionCardElement
1515
isCopyButton
16-
label="New constitution hash"
17-
text={(details?.anchor as NewConstitutionAnchor)?.dataHash as string}
18-
dataTestId="new-constitution-data-hash"
16+
label="New constitution link"
17+
text={(details?.anchor as NewConstitutionAnchor)?.url as string}
18+
dataTestId="new-constitution-url"
1919
textVariant={screenWidth > 1600 ? "longText" : "oneLine"}
2020
/>
2121
<GovernanceActionCardElement
2222
isCopyButton
23-
label="New constitution link"
24-
text={(details?.anchor as NewConstitutionAnchor)?.url as string}
25-
dataTestId="new-constitution-url"
23+
label="New constitution hash"
24+
text={(details?.anchor as NewConstitutionAnchor)?.dataHash as string}
25+
dataTestId="new-constitution-data-hash"
2626
textVariant={screenWidth > 1600 ? "longText" : "oneLine"}
2727
/>
2828
</Box>

0 commit comments

Comments
 (0)