Fix PropTypes folder path typo in documentation for Preact (#14505)

* Fix PropTypes folder path typo in documentation for Preact

* Fix PropTypes folder path typo in documentation for Preact

* Rollback unnecessary text update
This commit is contained in:
Fyodor 2021-08-16 12:59:14 +05:00 committed by GitHub
parent f54b6c27ef
commit 55b0224d78
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,7 +24,7 @@ creating Preact components, please ensure that you have defined your PropTypes.
Using PropTypes can be repetitive. Some duplication is normal, like when a
PropType is a string or a number. But for commonly-used PropTypes, like the user
entity, you can use the provided common PropTypes, located in the
`/app/javascript/src/components/common-prop-types`, as shown below.
`/app/javascript/common-prop-types`, as shown below.
```javascript
import PropTypes from 'prop-types';