Skip to content

Commit

Permalink
fix(useElementVisibility): prop 'as' does not work as expected (#889)
Browse files Browse the repository at this point in the history
  • Loading branch information
aryraditya committed Oct 28, 2021
1 parent e6a37a3 commit b58cce7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/useElementVisibility/component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { RenderableComponent } from '../types'

export const UseElementVisibility = defineComponent<RenderableComponent>({
name: 'UseElementVisibility',
as: ['as'] as unknown as undefined,
props: ['as'] as unknown as undefined,
setup(props, { slots }) {
const target = ref()
const data = reactive({
Expand Down

0 comments on commit b58cce7

Please sign in to comment.