Skip to content
This repository was archived by the owner on Sep 1, 2024. It is now read-only.

Commit 53deaa0

Browse files
KonstHardyljharb
authored andcommitted
[readme] Fix branch name (master -> main)
1 parent 239af0d commit 53deaa0

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,4 +89,4 @@
8989

9090
## Before 15.5.0
9191

92-
PropTypes was previously included in React, but is now a separate package. For earlier history of PropTypes [see the React change log.](https://github.com/facebook/react/blob/master/CHANGELOG.md)
92+
PropTypes was previously included in React, but is now a separate package. For earlier history of PropTypes [see the React change log.](https://github.com/facebook/react/blob/HEAD/CHANGELOG.md)

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ The code of conduct is described in [`CODE_OF_CONDUCT.md`](CODE_OF_CONDUCT.md).
88
## Pull Requests
99
We actively welcome your pull requests.
1010

11-
1. Fork the repo and create your branch from `master`.
11+
1. Fork the repo and create your branch from `main`.
1212
2. If you've added code that should be tested, add tests.
1313
3. If you've changed APIs, update the documentation.
1414
4. Ensure the test suite passes.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# prop-types [![Build Status](https://travis-ci.com/facebook/prop-types.svg?branch=master)](https://travis-ci.org/facebook/prop-types)
1+
# prop-types [![Build Status](https://travis-ci.com/facebook/prop-types.svg?branch=main)](https://travis-ci.org/facebook/prop-types)
22

33
Runtime type checking for React props and similar objects.
44

@@ -84,7 +84,7 @@ MyComponent.propTypes = {
8484

8585
// A React element type (eg. MyComponent).
8686
// a function, string, or "element-like" object (eg. React.Fragment, Suspense, etc.)
87-
// see https://github.com/facebook/react/blob/master/packages/shared/isValidElementType.js
87+
// see https://github.com/facebook/react/blob/HEAD/packages/shared/isValidElementType.js
8888
optionalElementType: PropTypes.elementType,
8989

9090
// You can also declare that a prop is an instance of a class. This uses

0 commit comments

Comments
 (0)