Skip to content

Commit 912ad04

Browse files
authored
update 0.72 file in releases folder.
Preventing crashes when version files contain empty usefulContent.
1 parent 825c17a commit 912ad04

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/components/common/UsefulLinks.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ class UsefulLinks extends Component {
6464
return (
6565
<>
6666
{versions.map(({ usefulContent, version }, key) => {
67+
if (!usefulContent) {
68+
return null
69+
}
70+
6771
const changelog = this.getChangelog({ version })
6872

6973
const links = [...usefulContent.links, changelog]

0 commit comments

Comments
 (0)