chore: Update translations
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Martti Malmi 2024-01-08 14:15:39 +00:00
parent c80eb25d29
commit 8a75b5bce8
1 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
import Fuse from "fuse.js";
import {CachedMetadata} from "@snort/system";
import { CachedMetadata } from "@snort/system";
export type FuzzySearchResult = {
pubkey: string;
@ -54,9 +54,9 @@ export const addCachedMetadataToFuzzySearch = (profile: CachedMetadata) => {
profileTimestamps.set(profile.pubkey, profile.created);
if (profile.pubkey && (profile.name || profile.display_name || profile.nip05)) {
fuzzySearch.add(profile);
console.log('added profile to fuzzy search', profile);
console.log("added profile to fuzzy search", profile);
}
});
}
};
export default fuzzySearch;