Skip to content

Commit 572b46a

Browse files
committed
refactor: - Remove return value from renderDescription()
1 parent 34832b8 commit 572b46a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Renderer/TaskLineRenderer.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ export class TaskLineRenderer {
271271
task: Task,
272272
) {
273273
if (component === TaskLayoutComponent.Description) {
274-
componentString = await this.renderDescription(componentString, task, span);
274+
await this.renderDescription(componentString, task, span);
275275
} else {
276276
span.innerHTML = componentString;
277277
}
@@ -313,7 +313,6 @@ export class TaskLineRenderer {
313313
span.querySelectorAll('.footnotes').forEach((footnoteElement) => {
314314
footnoteElement.remove();
315315
});
316-
return description;
317316
}
318317

319318
/*

0 commit comments

Comments
 (0)