mirror of
https://kevinblog.sytes.net/Code/Jibo-Revival-Group/RoboCommander.git
synced 2026-06-15 19:36:01 +00:00
Initial commit
This commit is contained in:
10
node_modules/react-redux/src/utils/verifyPlainObject.js
generated
vendored
Normal file
10
node_modules/react-redux/src/utils/verifyPlainObject.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
import isPlainObject from 'lodash/isPlainObject'
|
||||
import warning from './warning'
|
||||
|
||||
export default function verifyPlainObject(value, displayName, methodName) {
|
||||
if (!isPlainObject(value)) {
|
||||
warning(
|
||||
`${methodName}() in ${displayName} must return a plain object. Instead received ${value}.`
|
||||
)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user