+ {sourceOrder.map((order) => {
+ const source = sources[order.id];
+ return (
+
0}
+ percentage={source.percentage}
+ key={order.id}
+ >
+ {order.children.map((embedId) => {
+ const embed = sources[embedId];
+ return (
+
+ );
+ })}
+
);
- if (source.status === "notfound")
- Circle =
;
-
- // Main thing
- return (
-
-
- {Circle}
-
-
{source.name}
-
- status: {source.status} ({source.percentage}%)
-
-
reason: {source.reason}
-
-
- {order.children.map((embedId) => {
- const embed = sources[embedId];
- if (!embed) return null;
- return (
-
-
{embed.name}
-
- status: {embed.status} ({embed.percentage}%)
-
-
reason: {embed.reason}
-
- );
- })}
-
- );
- })}
+ })}
+