astro-tractstack 2.0.0 → 2.0.1
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
|
@@ -330,18 +330,18 @@ const EpinetWrapper = ({
|
|
|
330
330
|
);
|
|
331
331
|
}
|
|
332
332
|
|
|
333
|
-
if (
|
|
333
|
+
if (
|
|
334
|
+
!epinet ||
|
|
335
|
+
!epinet.nodes ||
|
|
336
|
+
!epinet.links ||
|
|
337
|
+
epinet.nodes.length === 0 ||
|
|
338
|
+
epinet.links.length === 0
|
|
339
|
+
)
|
|
334
340
|
return (
|
|
335
|
-
<div className="flex h-
|
|
336
|
-
<div className="
|
|
337
|
-
<div className="inline-block h-8 w-8 animate-spin rounded-full border-4 border-solid border-cyan-600 border-r-transparent align-[-0.125em] motion-reduce:animate-[spin_1.5s_linear_infinite]"></div>
|
|
338
|
-
<p className="mt-4 text-sm text-gray-600">
|
|
339
|
-
Computing user journey data...
|
|
340
|
-
</p>
|
|
341
|
-
</div>
|
|
341
|
+
<div className="flex h-64 items-center justify-center">
|
|
342
|
+
<div className="h-8 w-8 animate-spin rounded-full border-b-2 border-cyan-600"></div>
|
|
342
343
|
</div>
|
|
343
344
|
);
|
|
344
|
-
}
|
|
345
345
|
|
|
346
346
|
if (error && !epinet) {
|
|
347
347
|
return (
|