diff --git a/client/src/components/Auth/BlinkAnimation.tsx b/client/src/components/Auth/BlinkAnimation.tsx index 4323a3a631..58fa162619 100644 --- a/client/src/components/Auth/BlinkAnimation.tsx +++ b/client/src/components/Auth/BlinkAnimation.tsx @@ -5,25 +5,15 @@ export const BlinkAnimation = ({ active: boolean; children: React.ReactNode; }) => { - const style = ` - @keyframes blink-animation { - 0%, - 100% { - opacity: 1; - } - 50% { - opacity: 0; - } - }`; - if (!active) { return <>{children}; } - return ( - <> - -
{children}
- - ); + /** + * Animation comes from the `blink` keyframes in the Tailwind config rather than an + * inline ` - -