File tree Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -133,6 +133,7 @@ const Diff = ({
133133 ...change ,
134134 content : replaceWithProvidedAppName ( change . content , appName ) ,
135135 } ) ) ,
136+ content : replaceWithProvidedAppName ( hunk . content , appName ) ,
136137 } ) )
137138 } ,
138139 [ appName ]
Original file line number Diff line number Diff 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 ]
Original file line number Diff line number Diff line change 11import React , { Fragment } from 'react'
22
33export 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+ } ,
413 comments : [
514 {
615 fileName : 'metro.config.js' ,
You can’t perform that action at this time.
0 commit comments