Skip to content

Commit ba8ef63

Browse files
authored
feat: fix sync indicator (#2051)
1 parent 4658fe2 commit ba8ef63

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

apps/namadillo/src/App/Layout/SyncIndicator.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export const SyncIndicator = (): JSX.Element => {
7474

7575
return (
7676
<div className="flex gap-10 px-2 py-3">
77-
{roundedProgress < 100 && !isShieldedFetching && (
77+
{roundedProgress < 100 && isShieldedFetching && (
7878
<div className="relative group/tooltip">
7979
<div className="relative mt-1">
8080
<PulsingRing size="small" />
@@ -108,7 +108,8 @@ export const SyncIndicator = (): JSX.Element => {
108108
className={twMerge(
109109
"w-2 h-2 rounded-full",
110110
"bg-green-500",
111-
isError && "bg-red-500"
111+
isSyncing && "bg-yellow-500 animate-pulse",
112+
isError && !isSyncing && "bg-red-500"
112113
)}
113114
/>
114115
<Tooltip

0 commit comments

Comments
 (0)