frontend-monorepo-863 Block explorer menu: "Proposals" should say Governance proposals (#878)

This commit is contained in:
Sam Keen 2022-07-27 11:40:39 +01:00 committed by GitHub
parent b9db97c276
commit 714f5fc8e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View File

@ -108,7 +108,9 @@ const Governance = () => {
if (!data) return null;
return (
<section>
<RouteTitle data-testid="governance-header">{t('Governance')}</RouteTitle>
<RouteTitle data-testid="governance-header">
{t('Governance Proposals')}
</RouteTitle>
{data.proposals?.map((p) => (
<React.Fragment key={p.id}>
<SubHeading>{getProposalName(p.terms.change)}</SubHeading>

View File

@ -66,8 +66,8 @@ const governanceRoutes = flags.governance
? [
{
path: Routes.GOVERNANCE,
name: 'Governance',
text: t('Proposals'),
name: 'Governance proposals',
text: t('Governance Proposals'),
element: <Governance />,
},
]