Skip to content

Commit

Permalink
refactor: move useTemplateRef file
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Jul 19, 2024
1 parent 4c03ab2 commit 68bb48c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { type ShallowRef, readonly, shallowRef } from '@vue/reactivity'
import { getCurrentInstance } from './component'
import { warn } from './warning'
import { getCurrentInstance } from '../component'
import { warn } from '../warning'
import { EMPTY_OBJ } from '@vue/shared'

export function useTemplateRef<T = unknown>(
Expand Down
2 changes: 1 addition & 1 deletion packages/runtime-core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export { defineComponent } from './apiDefineComponent'
export { defineAsyncComponent } from './apiAsyncComponent'
export { useAttrs, useSlots } from './apiSetupHelpers'
export { useModel } from './helpers/useModel'
export { useTemplateRef } from './apiTemplateRef'
export { useTemplateRef } from './helpers/useTemplateRef'

// <script setup> API ----------------------------------------------------------

Expand Down

0 comments on commit 68bb48c

Please sign in to comment.