Skip to content

Commit

Permalink
Typecast and lint for @shuesken
Browse files Browse the repository at this point in the history
  • Loading branch information
chmac committed Aug 11, 2024
1 parent 4d20ead commit d0213c5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/nostr/subscribe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import {
isValidPlusCode,
uniq,
} from "./utils";
import { isValidAttribute } from "dompurify";
import * as nostrify from "@nostrify/nostrify";

const eventToNoteMinusProfile = ({
Expand Down Expand Up @@ -160,7 +159,7 @@ export const subscribe = async ({

await _query({
filters: [eventsFilterWithLimit],
onEvent: onNoteEvent,
onEvent: onNoteEvent as (event: NostrEvent) => void,
});

const authorsWithDuplicates = noteEventsQueue.map((event) =>
Expand Down

0 comments on commit d0213c5

Please sign in to comment.