Skip to content

Commit

Permalink
fix(markdown): remove duplicate checks
Browse files Browse the repository at this point in the history
  • Loading branch information
nsarrazin committed Feb 27, 2025
1 parent 341fade commit 021c466
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/lib/components/chat/MarkdownRenderer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,7 @@
tokens = processTokensSync(content, sources);
} else {
(async () => {
if (!browser) {
tokens = processTokensSync(content, sources);
} else {
tokens = await processContent(content, sources);
}
tokens = await processContent(content, sources);
})();
}
});
Expand Down

0 comments on commit 021c466

Please sign in to comment.