style: Improve code formatting and consistency
Code formatting improvements across multiple files: 1. databaseUtil.ts: - Convert single quotes to double quotes for string literals - Maintain consistency with project style guidelines 2. CapacitorPlatformService.ts: - Convert single quotes to double quotes for string literals - Align with TypeScript formatting standards 3. NewEditProjectView.vue: - Improve code formatting for error handling lambda - Better readability with proper line breaks and indentation These changes improve code consistency and readability without affecting functionality. All changes follow project style guidelines.
This commit is contained in:
@@ -673,8 +673,10 @@ export default class NewEditProjectView extends Vue {
|
||||
const publicExtendedKey: string = extPubPri?.publicExtendedKey;
|
||||
const privateExtendedKey = extPubPri?.privateExtendedKey;
|
||||
const privateBytes: Uint8Array =
|
||||
accountFromExtendedKey(privateExtendedKey).privateKey ||
|
||||
(() => { throw new Error("Failed to derive private key"); })();
|
||||
accountFromExtendedKey(privateExtendedKey).privateKey ||
|
||||
(() => {
|
||||
throw new Error("Failed to derive private key");
|
||||
})();
|
||||
// No real content is necessary, we just want something signed,
|
||||
// so we might as well use nostr libs for nostr functions.
|
||||
// Besides: someday we may create real content that we can relay.
|
||||
|
||||
Reference in New Issue
Block a user