chore: add missing space in warning message (#2266) [ci skip]

This commit is contained in:
Lory Lee 2020-10-14 04:18:22 +08:00 committed by GitHub
parent af1f5d33aa
commit 6b8cf998c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -350,7 +350,7 @@ function checkIdentityKeys(
const type = toRawType(target)
console.warn(
`Reactive ${type} contains both the raw and reactive ` +
`versions of the same object${type === `Map` ? `as keys` : ``}, ` +
`versions of the same object${type === `Map` ? ` as keys` : ``}, ` +
`which can lead to inconsistencies. ` +
`Avoid differentiating between the raw and reactive versions ` +
`of an object and only use the reactive version if possible.`