Skip to content

Commit

Permalink
[core] Fix prop-type warning in regression tests (#34086)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Aug 27, 2022
1 parent a1d1fda commit 0afdf84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Expand Up @@ -74,7 +74,7 @@ commands:
command: |
node scripts/use-react-version
# log a patch for maintainers who want to check out this change
git --no-pager diff HEAD
git --no-pager diff HEAD
- restore_cache:
name: Restore yarn cache
keys:
Expand Down
2 changes: 1 addition & 1 deletion test/regressions/index.js
Expand Up @@ -249,7 +249,7 @@ function FixtureRenderer({ component: FixtureComponent }) {
}

FixtureRenderer.propTypes = {
component: PropTypes.element,
component: PropTypes.elementType,
};

function App(props) {
Expand Down

0 comments on commit 0afdf84

Please sign in to comment.