mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 09:46:22 +00:00
modify propTypes "array" -> "arrayOf"
This commit is contained in:
@@ -18,6 +18,6 @@ const StorageList = ({storageList}) => (
|
|||||||
)
|
)
|
||||||
|
|
||||||
StorageList.propTypes = {
|
StorageList.propTypes = {
|
||||||
storgaeList: PropTypes.array.isRequired
|
storgaeList: PropTypes.arrayOf.isRequired
|
||||||
}
|
}
|
||||||
export default CSSModules(StorageList, styles)
|
export default CSSModules(StorageList, styles)
|
||||||
|
|||||||
Reference in New Issue
Block a user