change the "give" action on contact page to use dialog box
This commit is contained in:
@@ -27,14 +27,14 @@ export interface AgreeVerifiableCredential {
|
||||
object: Record<string, any>;
|
||||
}
|
||||
|
||||
export interface GiverInputInfo {
|
||||
export interface GiverReceiverInputInfo {
|
||||
did?: string;
|
||||
name?: string;
|
||||
}
|
||||
|
||||
export interface GiverOutputInfo {
|
||||
action: string;
|
||||
giver?: GiverInputInfo;
|
||||
giver?: GiverReceiverInputInfo;
|
||||
description?: string;
|
||||
amount?: number;
|
||||
unitCode?: string;
|
||||
@@ -481,7 +481,7 @@ export async function getPlanFromCache(
|
||||
cred = resp.data.data[0];
|
||||
planCache.set(handleId, cred);
|
||||
} else {
|
||||
console.log(
|
||||
console.error(
|
||||
"Failed to load plan with handle",
|
||||
handleId,
|
||||
" Got data:",
|
||||
@@ -489,7 +489,7 @@ export async function getPlanFromCache(
|
||||
);
|
||||
}
|
||||
} catch (error) {
|
||||
console.log(
|
||||
console.error(
|
||||
"Failed to load plan with handle",
|
||||
handleId,
|
||||
" Got error:",
|
||||
|
||||
Reference in New Issue
Block a user