diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index edfb98f..f64d550 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -207,7 +207,7 @@ function Dashboard({
you -> {handle};
+ return you -> {handle}; } if (result.paths.length === 0) { @@ -363,11 +363,20 @@ function CheckResultDisplay({
Found {result.paths.length} vouch route(s):
- {result.paths
- .map((path) =>
- path.map((did) => result.handleMap[did] ?? did).join(" -> "),
- )
- .join("\n")}
+ {result.paths.map((path, i) => (
+
+ {i > 0 && "\n"}
+ {path.map((did, j) => {
+ const label = result.handleMap[did] ?? did;
+ return (
+
+ {j > 0 && " -> "}
+ {label}
+
+ );
+ })}
+
+ ))}