feat: fix buiild

This commit is contained in:
2026-04-03 10:40:14 +02:00
parent 82cb4a9786
commit 576af715bd
4 changed files with 34 additions and 14 deletions

View File

@@ -12,10 +12,10 @@ export default function BacklinkIndicator({ backlinks }: Props) {
return (
<Popover>
<PopoverTrigger asChild>
<Button variant="ghost" size="sm" className="text-xs text-muted-foreground h-7 px-2">
{backlinks.length} backlink{backlinks.length !== 1 ? "s" : ""}
</Button>
<PopoverTrigger
render={<Button variant="ghost" size="sm" className="text-xs text-muted-foreground h-7 px-2" />}
>
{backlinks.length} backlink{backlinks.length !== 1 ? "s" : ""}
</PopoverTrigger>
<PopoverContent className="w-64 p-2" align="end">
<p className="text-xs font-semibold text-muted-foreground mb-2 px-1">

View File

@@ -189,11 +189,6 @@ function renderFormTag(inner: string): string {
return `<span style="color:#d4a8f8;border:1px solid rgba(212,168,248,0.3);border-radius:3px;padding:0 4px">${esc(placeholder || "...")}</span>`;
}
/** Render a form element line as a styled badge. */
function renderForm(line: string): string {
const inner = escapeHtml(line);
return `<span style="color:#d4a8f8;background:rgba(212,168,248,0.08);border:1px solid rgba(212,168,248,0.3);border-radius:3px;padding:0 4px;font-size:0.9em">${inner}</span>`;
}
export function renderMicron(source: string): string {
const lines = source.split("\n");

View File

@@ -52,7 +52,6 @@ export default function EditorView() {
override: [uframeCommandSource, uframeValueHintSource],
icons: false,
activateOnTyping: true,
maxOptions: 50,
}),
keywordHoverTooltip,
],