Skip to content

Commit ad7b000

Browse files
authored
Merge branch 'master' into fix-safari-copy
2 parents 5b03204 + 19de199 commit ad7b000

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

src/components/common/Diff/Diff.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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]

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]

src/releases/react-native/0.72.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
import React, { Fragment } from 'react'
22

33
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+
},
413
comments: [
514
{
615
fileName: 'metro.config.js',

0 commit comments

Comments
 (0)