Skip to content

Commit 4549e65

Browse files
authored
fix(runtime-core): remove dev-only props property from setup context for consistency (#3492)
1 parent e752bdd commit 4549e65

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

packages/runtime-core/src/component.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -780,9 +780,6 @@ export function createSetupContext(
780780
// We use getters in dev in case libs like test-utils overwrite instance
781781
// properties (overwrites should not be done in prod)
782782
return Object.freeze({
783-
get props() {
784-
return instance.props
785-
},
786783
get attrs() {
787784
return new Proxy(instance.attrs, attrHandlers)
788785
},

0 commit comments

Comments
 (0)