Skip to content

Commit

Permalink
Fix Demo App (nostr-sdk#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
joelklabo authored and RandyMcMillan committed Sep 1, 2024
1 parent d8dab7b commit 377796e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions demo/NostrSDKDemo/Demo Views/QueryRelayDemoView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ struct QueryRelayDemoView: View {

eventsCancellable = relay?.events
.receive(on: DispatchQueue.main)
.map {
$0.event
}
.sink { event in
events.insert(event, at: 0)
}
Expand Down

0 comments on commit 377796e

Please sign in to comment.