Skip to content

Commit 62c43ef

Browse files
committed
fix changelog links in useful content section
previously on a comparison page like this one [1], we were having an issue, where the changelog link was not set. this was due to the package name not being accessible for the "UsefulLinks" component. this commit fixes this issue [1]: https://react-native-community.github.io/upgrade-helper/?from=0.63.4&to=0.69.0
1 parent 0058140 commit 62c43ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/common/UsefulContentSection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ class UsefulContentSection extends Component {
209209

210210
<ContentContainer isContentVisible={isContentVisible}>
211211
{doesAnyVersionHaveUsefulLinks ? (
212-
<UsefulLinks versions={versions} />
212+
<UsefulLinks packageName={packageName} versions={versions} />
213213
) : null}
214214

215215
<DepCheckAlert />

0 commit comments

Comments
 (0)