From 49de84b0052131ff9aac8d8378a05bc27e0b41ba Mon Sep 17 00:00:00 2001 From: ssandino Date: Tue, 14 Jan 2025 20:42:10 +0000 Subject: [PATCH] Prettified Code! --- .../use-glow-hover/glow-hover-effect.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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 +};