From 8a95d2837cd108e4f983a16623b29cab37934d60 Mon Sep 17 00:00:00 2001 From: Matt Carroll Date: Thu, 30 Jan 2025 11:41:45 -0500 Subject: [PATCH] fix: handle null titles/empty channels in Tip --- src/marks/tip.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/marks/tip.js b/src/marks/tip.js index bfb9d04cb2..fbf6668b07 100644 --- a/src/marks/tip.js +++ b/src/marks/tip.js @@ -155,7 +155,7 @@ export class Tip extends Mark { for (const line of mark.splitLines(lines)) { renderLine(that, {value: mark.clipLine(line)}); } - } else { + } else if (isIterable(lines)) { const labels = new Set(); for (const line of lines) { const {label = ""} = line;