Considerable cleanup. I think I also found the issue from the other day with values not loading from settings.

This commit is contained in:
Matthew Raymer
2023-07-06 18:12:21 +08:00
parent e3f58bd593
commit 754bced2a9
20 changed files with 657 additions and 79 deletions

View File

@@ -85,7 +85,7 @@ export function isHiddenDid(did) {
export function didInfo(did, activeDid, identifiers, contacts) {
const myId: IIdentifier | undefined = R.find(
(i) => i.did === did,
identifiers
identifiers,
);
if (myId) {
return "You" + (myId.did !== activeDid ? " (Alt ID)" : "");
@@ -120,7 +120,7 @@ export async function createAndSubmitGive(
toDid: string,
description: string,
hours: number,
fulfillsProjectHandleId?: string
fulfillsProjectHandleId?: string,
): Promise<AxiosResponse<ClaimResult> | InternalError> {
// Make a claim
const vcClaim: GiveVerifiableCredential = {