Skip to content

Commit dda03bf

Browse files
committed
refactor: ! Shorten some debug messages
1 parent d050cce commit dda03bf

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/Renderer/QueryRenderer.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -261,11 +261,11 @@ class QueryRenderChild extends MarkdownRenderChild {
261261
// (setTimeout(, 0) seemed to work too...)
262262
if (!this.containerEl.isConnected) {
263263
// Example reasons why we might not be "connected":
264-
// - This Tasks query block is contained with within another plugin's code block,
264+
// - This Tasks query block is contained within another plugin's code block,
265265
// such as a Tabs plugin. The file is closed and that plugin has not correctly
266266
// tidied up, so we have not been deleted.
267267
this.queryResultsRenderer.query.debug(
268-
'[render] QueryRenderChild.render() Ignoring redraw request, as code block is not connected.',
268+
'[render] Ignoring redraw request, as code block is not connected.',
269269
);
270270
return;
271271
}
@@ -276,9 +276,7 @@ class QueryRenderChild extends MarkdownRenderChild {
276276
// - We are in a note which is obscured by another note.
277277
// - We are in a Tabs plugin, in a tab which is not at the front.
278278
// - The user has not yet scrolled to this code block's position in the file.
279-
this.queryResultsRenderer.query.debug(
280-
'[render] QueryRenderChild.render() Ignoring redraw request, as code block is not shown.',
281-
);
279+
this.queryResultsRenderer.query.debug('[render] Ignoring redraw request, as code block is not shown.');
282280
return;
283281
}
284282

0 commit comments

Comments
 (0)