feat(minimap): turn ariaLabel into an optional property

This commit is contained in:
Christopher Möller
2022-11-14 15:28:15 +01:00
parent 52816debba
commit a5963e62b6
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -155,7 +155,7 @@ function MiniMap({
ref={svg}
onClick={onSvgClick}
>
<title id={labelledBy}>{ariaLabel}</title>
{ariaLabel && <title id={labelledBy}>{ariaLabel}</title>}
{nodes.map((node) => {
return (
<MiniMapNode