Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
linzhe141 committed Sep 5, 2024
1 parent 3c75efd commit 3bc3c1d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ describe('useTemplateRef', () => {
const foo = useTemplateRef('bar')
return {
[key]: tRef,
['foo']: foo,
foo,
}
},
render() {
Expand Down
1 change: 0 additions & 1 deletion packages/runtime-core/src/component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -942,7 +942,6 @@ export function handleSetupResult(
if (__DEV__) {
// dev only
Object.defineProperty(setupResult, '__v__setupResult', {
enumerable: false,
value: setupResult,
})
exposeSetupStateOnRenderContext(instance)
Expand Down

0 comments on commit 3bc3c1d

Please sign in to comment.