mirror of
https://github.com/hoornet/vega.git
synced 2026-05-08 13:19:10 -07:00
Fix TypeScript errors blocking production build
- ArticleEditor: annotate map callback parameter as string - ui.ts: prefix unused get parameter with _ to silence noUnusedLocals Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -55,7 +55,7 @@ export function ArticleEditor() {
|
||||
content: content.trim(),
|
||||
summary: summary.trim() || undefined,
|
||||
image: image.trim() || undefined,
|
||||
tags: tags.split(",").map((t) => t.trim()).filter(Boolean),
|
||||
tags: tags.split(",").map((t: string) => t.trim()).filter(Boolean),
|
||||
});
|
||||
clearDraft();
|
||||
setPublished(true);
|
||||
|
||||
Reference in New Issue
Block a user