fix CI lint failures

This commit is contained in:
Bradley Axen
2026-05-04 12:34:49 -07:00
parent 060403f8aa
commit e066016cb2
2 changed files with 3 additions and 9 deletions
+2 -5
View File
@@ -1,9 +1,9 @@
use nostr::{nips::nip44, EventBuilder, JsonUtil, Keys, Kind, Tag, Timestamp, ToBech32};
use tauri::Manager;
use nostr_compat::{
Event as CompatEvent, JsonUtil as CompatJsonUtil, Keys as CompatKeys,
PublicKey as CompatPublicKey,
};
use tauri::Manager;
use tauri::State;
use crate::{
@@ -186,10 +186,7 @@ pub fn import_identity(
bech32
};
eprintln!(
"sprout-desktop: imported identity pubkey {}",
pubkey_hex
);
eprintln!("sprout-desktop: imported identity pubkey {}", pubkey_hex);
Ok(IdentityInfo {
pubkey: pubkey_hex,
+1 -4
View File
@@ -471,10 +471,7 @@ export async function getNsec(): Promise<string> {
export async function importIdentity(nsec: string): Promise<Identity> {
const raw = await invokeTauri<RawIdentity>("import_identity", { nsec });
return {
pubkey: raw.pubkey,
displayName: raw.display_name,
};
return { pubkey: raw.pubkey, displayName: raw.display_name };
}
export async function getProfile(): Promise<Profile> {