diff --git a/src/@types/node_modules.d.ts b/src/@types/node_modules.d.ts index 672b0a46..aa1141be 100644 --- a/src/@types/node_modules.d.ts +++ b/src/@types/node_modules.d.ts @@ -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 diff --git a/src/components/atoms/Changelog.tsx b/src/components/atoms/Changelog.tsx index a6ad4176..949b3400 100644 --- a/src/components/atoms/Changelog.tsx +++ b/src/components/atoms/Changelog.tsx @@ -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`