wip: refactor

This commit is contained in:
Ren Amamiya
2023-08-18 07:37:11 +07:00
parent 414dd50a5c
commit 5626579b3f
17 changed files with 156 additions and 307 deletions

View File

@@ -10,9 +10,9 @@ import {
VideoPreview,
} from '@shared/notes';
import { Content } from '@utils/types';
import { RichContent } from '@utils/types';
export function NoteContent({ content, long }: { content: Content; long?: boolean }) {
export function NoteContent({ content, long }: { content: RichContent; long?: boolean }) {
if (long) {
return (
<ReactMarkdown className="markdown" remarkPlugins={[remarkGfm]}>