diff --git a/src/views/repo/identity.tsx b/src/views/repo/identity.tsx index 820c640..5d7842a 100644 --- a/src/views/repo/identity.tsx +++ b/src/views/repo/identity.tsx @@ -8,7 +8,7 @@ import { detectDidKeyType, detectKeyType } from "../../lib/key.js"; import { addToClipboard } from "../../utils/copy.js"; const HandleResult = (props: { - label: string; + method: string; result: HandleResolveResult; expectedDid: string; }) => { @@ -16,27 +16,35 @@ const HandleResult = (props: { const mismatch = () => props.result.success && props.result.did !== props.expectedDid; return ( - <> - - {props.label} - -
- {props.result.error}
} - > -
{props.result.did}
- -
Expected: {props.expectedDid}
-
- +
+
+ + {props.method}
- + + {props.result.error} +
+ } + > +
+ {props.result.did} +
+ + + +
+ Expected: {props.expectedDid} +
+
+ ); }; @@ -52,9 +60,10 @@ const AliasEntry = (props: { alias: string; did: string; valid: boolean | undefi when={props.alias.startsWith("at://")} fallback={
{props.alias}
} > -
+