forked from trent_larson/crowd-funder-for-time-pwa
put didInfo names in more places and add copy icons for DIDs & IDs
This commit is contained in:
@@ -160,6 +160,10 @@ export function isHiddenDid(did: string) {
|
||||
return did === HIDDEN_DID;
|
||||
}
|
||||
|
||||
export function isEmptyOrHiddenDid(did?: string) {
|
||||
return !did || did === HIDDEN_DID; // catching empty string as well
|
||||
}
|
||||
|
||||
/**
|
||||
* @return true for any nested string where func(input) === true
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user