1
0
Fork 0

fix changelog parsing

This commit is contained in:
Matthias Kretschmann 2020-04-04 10:55:41 +02:00
parent e0585386fb
commit 4bb01438c1
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@ declare module 'pigeon-maps'
declare module 'pigeon-marker'
declare module 'react-blockies'
declare module 'remark-react'
declare module 'unified'
declare module 'ethereum-blockies' {
export function toDataUrl(address: string): string

View File

@ -24,7 +24,7 @@ export function PureChangelog({
const { object, url, owner } = repoMatch
const changelogHtml =
object && remark().use(remarkReact).processSync(object.text).contents
object && remark().use(remarkReact).processSync(object.text).result
const filePathUrl = `${url}/tree/master/CHANGELOG.md`
const filePathDisplay = `${owner.login}/${repo}:CHANGELOG.md`