From d66bc8ffe16a364c892e0bf7515da187e46e04f0 Mon Sep 17 00:00:00 2001 From: thislight Date: Mon, 25 Nov 2024 20:31:21 +0800 Subject: [PATCH] TootContent: renderas section element --- src/timelines/toots/TootContent.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/timelines/toots/TootContent.tsx b/src/timelines/toots/TootContent.tsx index 2960794..956ff45 100644 --- a/src/timelines/toots/TootContent.tsx +++ b/src/timelines/toots/TootContent.tsx @@ -17,7 +17,7 @@ function preventDefault(event: Event) { event.preventDefault(); } -export type TootContentProps = JSX.HTMLAttributes & { +export type TootContentProps = JSX.HTMLAttributes & { source?: string; emojis?: mastodon.v1.CustomEmoji[]; mentions: mastodon.v1.StatusMention[]; @@ -58,7 +58,7 @@ const TootContent: Component = (oprops) => { }; return ( -
{ createRenderEffect(() => { const finder = clientFinder(); @@ -104,7 +104,7 @@ const TootContent: Component = (oprops) => { } >
- + ); };