nostr music: tracks
This commit is contained in:
parent
6d00aa8e0a
commit
1ec3d95c35
6 changed files with 219 additions and 1 deletions
|
|
@ -38,6 +38,7 @@ import Reaction from './Reaction'
|
|||
import RelayReview from './RelayReview'
|
||||
import UnknownNote from './UnknownNote'
|
||||
import VideoNote from './VideoNote'
|
||||
import MusicTrackNote from './MusicTrackNote'
|
||||
|
||||
export default function Note({
|
||||
event,
|
||||
|
|
@ -124,6 +125,8 @@ export default function Note({
|
|||
event.kind === ExtendedKind.ADDRESSABLE_SHORT_VIDEO
|
||||
) {
|
||||
content = <VideoNote className="mt-2" event={event} />
|
||||
} else if (event.kind === ExtendedKind.MUSIC_TRACK) {
|
||||
content = <MusicTrackNote className="mt-2" event={event} />
|
||||
} else if (event.kind === ExtendedKind.RELAY_REVIEW) {
|
||||
content = <RelayReview className="mt-2" event={event} />
|
||||
} else if (event.kind === kinds.Emojisets) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue