Skip to content

Commit

Permalink
refactor: remove useless async
Browse files Browse the repository at this point in the history
  • Loading branch information
araujogui committed Jan 8, 2025
1 parent ecb31b1 commit 7092bae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/site/next.mdx.shiki.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ export default function rehypeShikiji() {
}
});

visit(tree, 'element', async (node, index, parent) => {
visit(tree, 'element', (node, index, parent) => {
// We only want to process <pre>...</pre> elements
if (!parent || index == null || node.tagName !== 'pre') {
return;
Expand Down

0 comments on commit 7092bae

Please sign in to comment.