diff --git a/src/components/PostEditor/PostContent.tsx b/src/components/PostEditor/PostContent.tsx index 4c16c33f..221e7ec3 100644 --- a/src/components/PostEditor/PostContent.tsx +++ b/src/components/PostEditor/PostContent.tsx @@ -1827,7 +1827,6 @@ export default function PostContent({ setIsWikiArticle(false) setIsNostrSpecification(false) setIsPublicationContent(false) - setIsMusicTrack(false) setIsCitationInternal(false) setIsCitationExternal(false) setIsCitationHardcopy(false) diff --git a/src/components/PostEditor/PostTextarea/Preview.tsx b/src/components/PostEditor/PostTextarea/Preview.tsx index a4e74ff6..9c544d3a 100644 --- a/src/components/PostEditor/PostTextarea/Preview.tsx +++ b/src/components/PostEditor/PostTextarea/Preview.tsx @@ -18,6 +18,7 @@ import { useMemo, type ReactNode } from 'react' import ContentPreview from '../../ContentPreview' import Content from '../../Content' import Highlight from '../../Note/Highlight' +import MusicTrackNote from '../../Note/MusicTrackNote' import MarkdownArticle from '../../Note/MarkdownArticle/MarkdownArticle' import AsciidocArticle from '../../Note/AsciidocArticle/AsciidocArticle' import { HighlightData } from '../HighlightEditor' @@ -331,7 +332,7 @@ export default function Preview({ if (kind === ExtendedKind.MUSIC_TRACK) { return withClientBadge( - + ) }