Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
treasury heading check
Browse files Browse the repository at this point in the history
  • Loading branch information
sohai committed Jul 13, 2023
1 parent 248d581 commit e974fbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ts/pages/governance/treasury.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ export const Treasury: React.FC<{}> = () => {
};

let cleanedDescription = description.replace(/<br\/><br\/>/g, '\n');
cleanedDescription = cleanedDescription.replace(heading.raw, '');
cleanedDescription = heading ? cleanedDescription.replace(heading.raw, '') : cleanedDescription;
return (
<StakingPageLayout isHome={false} title="0x Treasury">
<RegisterBanner />
Expand Down

1 comment on commit e974fbb

@vercel
Copy link

@vercel vercel bot commented on e974fbb Jul 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.