create-sia-app 0.1.6 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -103,22 +103,6 @@ export function ApproveScreen({
|
|
|
103
103
|
</div>
|
|
104
104
|
)}
|
|
105
105
|
|
|
106
|
-
<div className="flex items-center justify-center gap-2 text-sm text-neutral-400">
|
|
107
|
-
{polling ? (
|
|
108
|
-
<>
|
|
109
|
-
<span className="relative flex h-2 w-2">
|
|
110
|
-
<span className="animate-ping absolute inline-flex h-full w-full rounded-full bg-green-400 opacity-75" />
|
|
111
|
-
<span className="relative inline-flex rounded-full h-2 w-2 bg-green-500" />
|
|
112
|
-
</span>
|
|
113
|
-
Waiting for approval...
|
|
114
|
-
</>
|
|
115
|
-
) : pollError ? (
|
|
116
|
-
<span className="text-neutral-500">
|
|
117
|
-
Auto-polling stopped.
|
|
118
|
-
</span>
|
|
119
|
-
) : null}
|
|
120
|
-
</div>
|
|
121
|
-
|
|
122
106
|
<button
|
|
123
107
|
type="button"
|
|
124
108
|
onClick={handleManualCheck}
|
|
@@ -134,6 +118,20 @@ export function ApproveScreen({
|
|
|
134
118
|
'Check Approval'
|
|
135
119
|
)}
|
|
136
120
|
</button>
|
|
121
|
+
|
|
122
|
+
<div className="flex items-center justify-center gap-2 text-xs text-neutral-600">
|
|
123
|
+
{polling ? (
|
|
124
|
+
<>
|
|
125
|
+
<span className="relative flex h-1.5 w-1.5">
|
|
126
|
+
<span className="animate-ping absolute inline-flex h-full w-full rounded-full bg-green-400 opacity-75" />
|
|
127
|
+
<span className="relative inline-flex rounded-full h-1.5 w-1.5 bg-green-500" />
|
|
128
|
+
</span>
|
|
129
|
+
Polling for approval...
|
|
130
|
+
</>
|
|
131
|
+
) : pollError ? (
|
|
132
|
+
<span>Auto-polling stopped</span>
|
|
133
|
+
) : null}
|
|
134
|
+
</div>
|
|
137
135
|
</div>
|
|
138
136
|
</div>
|
|
139
137
|
)
|