fix warn
This commit is contained in:
parent
5a32f3de0c
commit
60443f481e
@ -91,6 +91,7 @@ export const createStore = options => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function assertSelectedExists(value) {
|
function assertSelectedExists(value) {
|
||||||
|
if (typeof value !== 'undefined') return
|
||||||
console.warn(`A selector returned undefined.
|
console.warn(`A selector returned undefined.
|
||||||
This indicates that you tried to access a state property that does not exist.
|
This indicates that you tried to access a state property that does not exist.
|
||||||
To turn these messages off use {"warnOnUndefinedSelect": false} in options`)
|
To turn these messages off use {"warnOnUndefinedSelect": false} in options`)
|
||||||
|
Loading…
Reference in New Issue
Block a user