File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -64,6 +64,10 @@ class UsefulLinks extends Component {
64
64
return (
65
65
< >
66
66
{ versions . map ( ( { usefulContent, version } , key ) => {
67
+ if ( ! usefulContent ) {
68
+ return null
69
+ }
70
+
67
71
const changelog = this . getChangelog ( { version } )
68
72
69
73
const links = [ ...usefulContent . links , changelog ]
Original file line number Diff line number Diff line change 1
1
import React , { Fragment } from 'react'
2
2
3
3
export default {
4
+ usefulContent : {
5
+ description : 'React Native 0.72 includes a new metro config setup' ,
6
+ links : [
7
+ {
8
+ title : 'Show about the major changes on React Native 0.72.0-rc.1' ,
9
+ url : 'https://github.com/facebook/react-native/releases/tag/v0.72.0-rc.1' ,
10
+ } ,
11
+ ] ,
12
+ } ,
4
13
comments : [
5
14
{
6
15
fileName : 'metro.config.js' ,
You can’t perform that action at this time.
0 commit comments