Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
tmg0 committed May 27, 2024
1 parent 368d843 commit 56f0ceb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/composables/use-hero.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { defu } from 'defu'
import omit from 'lodash.omit'
import type { HeroProps } from '../components/hero'
import { useHeroContext } from '../composables/use-hero-context'
import type { Transition } from '../types'

export type UseHeroProps = Omit<HeroProps, 'as'>

Expand Down Expand Up @@ -59,7 +60,7 @@ export function useHero(domRef: Ref<any>, props: UseHeroProps) {

motionInstance = useMotion(domRef, {
initial: omit(initial, props.ignore),
enter: omit(enter, props.ignore),
enter: omit(enter, props.ignore) as Transition,
})
})

Expand Down

0 comments on commit 56f0ceb

Please sign in to comment.