Skip to content

Commit

Permalink
[#1600] hide hadfork initiation details outside details tab
Browse files Browse the repository at this point in the history
  • Loading branch information
j-dyczka committed Aug 26, 2024
1 parent b0e5708 commit 1b4e2df
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ export const GovernanceActionDetailsCardData = ({
)}

{details &&
type !== GovernanceActionType.HardForkInitiation &&
Object.keys(details).length !== 0 &&
Object.entries(details).map(([detailLabel, content]) => (
<GovernanceActionCardElement
Expand Down Expand Up @@ -312,7 +313,7 @@ const HardforkDetailsTabContent = ({
const { t } = useTranslation();

return (
<Box sx={{ display: "flex", flexDirection: "column", gap: 3 }}>
<Box sx={{ display: "flex", flexDirection: "column", gap: 3, pb: 3 }}>
<Box sx={{ display: "flex", flexDirection: "column", gap: 1.5 }}>
<Typography variant="body2">
{t("govActions.hardforkDetails.currentVersion")}
Expand Down

0 comments on commit 1b4e2df

Please sign in to comment.