(chore): cleaning up formatting and relative references

This commit is contained in:
Matthew Raymer
2025-02-06 14:08:54 +00:00
parent 52cbe81f23
commit 15783cdbe6
10 changed files with 98 additions and 93 deletions

View File

@@ -90,7 +90,11 @@
import { Vue, Component, Prop } from "vue-facing-decorator";
import { NotificationIface } from "../constants/app";
import { createAndSubmitGive, didInfo, serverMessageForUser } from "../libs/endorserServer";
import {
createAndSubmitGive,
didInfo,
serverMessageForUser,
} from "../libs/endorserServer";
import * as libsUtil from "../libs/util";
import { db, retrieveSettingsForActiveAccount } from "../db/index";
import { Contact } from "../db/tables/contacts";
@@ -100,8 +104,8 @@ import { retrieveAccountDids } from "../libs/util";
export default class GiftedDialog extends Vue {
$notify!: (notification: NotificationIface, timeout?: number) => void;
@Prop fromProjectId = "";
@Prop toProjectId = "";
@Prop() fromProjectId = "";
@Prop() toProjectId = "";
activeDid = "";
allContacts: Array<Contact> = [];
@@ -128,7 +132,7 @@ export default class GiftedDialog extends Vue {
offerId?: string,
customTitle?: string,
prompt?: string,
callbackOnSuccess?: (amount: number) => void,
callbackOnSuccess: (amount: number) => void = () => {},
) {
this.customTitle = customTitle;
this.giver = giver;