nostr music: tracks
This commit is contained in:
parent
6d00aa8e0a
commit
1ec3d95c35
6 changed files with 219 additions and 1 deletions
|
|
@ -18,6 +18,7 @@ import PictureNotePreview from './PictureNotePreview'
|
|||
import PollPreview from './PollPreview'
|
||||
import ReactionPreview from './ReactionPreview'
|
||||
import VideoNotePreview from './VideoNotePreview'
|
||||
import MusicTrackPreview from './MusicTrackPreview'
|
||||
|
||||
export default function ContentPreview({
|
||||
event,
|
||||
|
|
@ -120,6 +121,10 @@ export default function ContentPreview({
|
|||
return <ReactionPreview event={event} className={className} />
|
||||
}
|
||||
|
||||
if (event.kind === ExtendedKind.MUSIC_TRACK) {
|
||||
return <MusicTrackPreview event={event} />
|
||||
}
|
||||
|
||||
return (
|
||||
<div className={className}>
|
||||
[
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue