chore(client): review from Copilot

This commit is contained in:
Elian Doran
2025-11-09 15:13:57 +02:00
parent 1257e46852
commit ae1c8f0a0b
16 changed files with 17 additions and 19 deletions

View File

@@ -142,7 +142,7 @@ export default function NoteMap({ note, widgetMode, parentRef }: NoteMapProps) {
<div ref={styleResolverRef} class="style-resolver" />
<div ref={containerRef} className="note-map-container" />
</div>
)
);
}
function MapTypeSwitcher({ icon, text, type, currentMapType, setMapType }: {

View File

@@ -167,7 +167,7 @@ export function setupRendering(graph: ForceGraph<NoteMapNodeObject, NoteMapLinkO
.linkWidth((link) => (highlightLinks.has(link) ? 3 : 0.4))
.linkColor((link) => (highlightLinks.has(link) ? cssData.textColor : cssData.mutedTextColor))
.linkDirectionalArrowLength(4)
.linkDirectionalArrowRelPos(0.95)
.linkDirectionalArrowRelPos(0.95);
// Link-specific config
if (mapType) {