Skip to content

Commit bca9b7b

Browse files
committed
Improve the Connect/Disconnect UI
Signed-off-by: David Gageot <david.gageot@docker.com>
1 parent 671d917 commit bca9b7b

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/extension/ui/src/components/tabs/YourClients.tsx

+3-6
Original file line numberDiff line numberDiff line change
@@ -205,10 +205,9 @@ function ClientSetting({
205205
<Stack direction="row" alignItems="center" spacing={1}>
206206
{(buttonsLoading[name] && (
207207
<>
208-
<Typography sx={{ fontSize: 12, width: 70 }}>
208+
<Typography sx={{ fontSize: 12, width: 90 }}>
209209
Connect
210210
</Typography>
211-
<CircularProgress size={12} />
212211
</>
213212
)) || (
214213
<Typography sx={{ fontSize: 12, width: 90 }}>
@@ -242,10 +241,9 @@ function ClientSetting({
242241
<Stack direction="row" alignItems="center" spacing={1}>
243242
{(buttonsLoading[name] && (
244243
<>
245-
<Typography sx={{ fontSize: 12, width: 70 }}>
244+
<Typography sx={{ fontSize: 12, width: 90 }}>
246245
Disconnect
247246
</Typography>
248-
<CircularProgress size={12} />
249247
</>
250248
)) || (
251249
<Typography sx={{ fontSize: 12, width: 90 }}>
@@ -278,10 +276,9 @@ function ClientSetting({
278276
<Stack direction="row" alignItems="center" spacing={1}>
279277
{(buttonsLoading[name] && (
280278
<>
281-
<Typography sx={{ fontSize: 12, width: 70 }}>
279+
<Typography sx={{ fontSize: 12, width: 90 }}>
282280
Disconnect
283281
</Typography>
284-
<CircularProgress size={12} />
285282
</>
286283
)) || (
287284
<Typography sx={{ fontSize: 12, width: 90 }}>

0 commit comments

Comments
 (0)