diff --git a/src/entities/Proposal/utils.ts b/src/entities/Proposal/utils.ts index df6487932..6d7facb78 100644 --- a/src/entities/Proposal/utils.ts +++ b/src/entities/Proposal/utils.ts @@ -152,7 +152,7 @@ export function governanceUrl(pathname = '') { export function proposalUrl(id: ProposalAttributes['id']) { const params = new URLSearchParams({ id }) const target = new URL(GOVERNANCE_URL) - target.pathname = '/proposal/' + target.pathname = (target.pathname.endsWith('/') ? '' : target.pathname) + '/proposal/' target.search = '?' + params.toString() return target.toString() }