diff --git a/ui/src/components/use-glow-hover/glow-hover-effect.ts b/ui/src/components/use-glow-hover/glow-hover-effect.ts index 06e66e673..151fe3c81 100644 --- a/ui/src/components/use-glow-hover/glow-hover-effect.ts +++ b/ui/src/components/use-glow-hover/glow-hover-effect.ts @@ -13,14 +13,14 @@ export type GlowHoverOptions = { enableBurst?: boolean; } & ( | { - preset: keyof typeof presets; - lightColor?: string; -} + preset: keyof typeof presets; + lightColor?: string; + } | { - preset?: undefined; - lightColor: string; -} - ); + preset?: undefined; + lightColor: string; + } +); type Coords = { x: number; @@ -235,4 +235,4 @@ export const glowHoverEffect = (el: HTMLElement, { preset, ...options }: GlowHov resizeObserver.disconnect(); } }; -}; \ No newline at end of file +};