Skip to content

Commit 7092bae

Browse files
committed
refactor: remove useless async
1 parent ecb31b1 commit 7092bae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/site/next.mdx.shiki.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ export default function rehypeShikiji() {
148148
}
149149
});
150150

151-
visit(tree, 'element', async (node, index, parent) => {
151+
visit(tree, 'element', (node, index, parent) => {
152152
// We only want to process <pre>...</pre> elements
153153
if (!parent || index == null || node.tagName !== 'pre') {
154154
return;

0 commit comments

Comments
 (0)