Skip to content

Commit

Permalink
fix(runtime-core): remove dev-only props property from setup context …
Browse files Browse the repository at this point in the history
…for consistency (#3492)
  • Loading branch information
nrgnrg authored Mar 27, 2021
1 parent e752bdd commit 4549e65
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/runtime-core/src/component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -780,9 +780,6 @@ export function createSetupContext(
// We use getters in dev in case libs like test-utils overwrite instance
// properties (overwrites should not be done in prod)
return Object.freeze({
get props() {
return instance.props
},
get attrs() {
return new Proxy(instance.attrs, attrHandlers)
},
Expand Down

0 comments on commit 4549e65

Please sign in to comment.