We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3546e69 commit 32c8ff8Copy full SHA for 32c8ff8
src/components/ConnectionStatus.tsx
@@ -27,11 +27,7 @@ const ConnectionStatus: React.FC<ConnectionStatusProps> = ({ status }) => {
27
28
return (
29
<div className="flex items-center gap-2 text-sm" role="status" aria-label={config.text}>
30
- <span className={`${config.bg} w-3 h-3 rounded-full inline-block`}>
31
- {status === 'connecting' && (
32
- <span className="animate-pulse block w-full h-full rounded-full"></span>
33
- )}
34
- </span>
+ <span className={`${config.bg} w-3 h-3 rounded-full inline-block ${status === 'connecting' ? 'animate-pulse' : ''}`} />
35
<span className="font-medium">{config.text}</span>
36
</div>
37
);
0 commit comments