diff --git a/src/page/workspace/channel/article-card.tsx b/src/page/workspace/channel/article-card.tsx index 5da4cea..45de6e5 100644 --- a/src/page/workspace/channel/article-card.tsx +++ b/src/page/workspace/channel/article-card.tsx @@ -23,7 +23,7 @@ export default function ArticleCard({ article, onClick, className }: Props) { return (
+ Pinned diff --git a/src/page/workspace/channel/article-composer.tsx b/src/page/workspace/channel/article-composer.tsx index 4c224f5..bb7ccad 100644 --- a/src/page/workspace/channel/article-composer.tsx +++ b/src/page/workspace/channel/article-composer.tsx @@ -43,7 +43,7 @@ export default function ArticleComposer({ ); // Auto-save indicator - const autoSaveTimer = useRef>(); + const autoSaveTimer = useRef | undefined>(undefined); useEffect(() => { if (!draft) return; if (autoSaveTimer.current) clearTimeout(autoSaveTimer.current); diff --git a/src/page/workspace/channel/article-detail.tsx b/src/page/workspace/channel/article-detail.tsx index bf7e0dc..82644d3 100644 --- a/src/page/workspace/channel/article-detail.tsx +++ b/src/page/workspace/channel/article-detail.tsx @@ -162,7 +162,7 @@ export default function ArticleDetail({

Article Detail

{article.is_pinned && ( - + Pinned @@ -249,7 +249,7 @@ export default function ArticleDetail({
)} {editing ? ( @@ -290,7 +292,7 @@ export default function MessageItem({ {threadForMessage && !message.thread && ( } @@ -329,12 +331,13 @@ export default function MessageItem({ )} -
+
handleReaction(emoji)} trigger={
))} -
+
{newMsgCount > 0 && (