Skip to content

Commit

Permalink
Prettified Code!
Browse files Browse the repository at this point in the history
  • Loading branch information
ssandino authored and actions-user committed Jan 14, 2025
1 parent 9388ae6 commit 49de84b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions ui/src/components/use-glow-hover/glow-hover-effect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -235,4 +235,4 @@ export const glowHoverEffect = (el: HTMLElement, { preset, ...options }: GlowHov
resizeObserver.disconnect();
}
};
};
};

0 comments on commit 49de84b

Please sign in to comment.