Skip to content

Commit

Permalink
fix(apiInject): fix stringifying of symbol injection key (#383)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsseng authored and yyx990803 committed Oct 26, 2019
1 parent 134e932 commit 7394f7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/runtime-core/src/apiInject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export function inject(
} else if (defaultValue !== undefined) {
return defaultValue
} else if (__DEV__) {
warn(`injection "${key}" not found.`)
warn(`injection "${String(key)}" not found.`)
}
} else if (__DEV__) {
warn(`inject() can only be used inside setup().`)
Expand Down

0 comments on commit 7394f7e

Please sign in to comment.