Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy committed Apr 26, 2024
1 parent 02556db commit 71a5258
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/integrations/mdx/src/rehype-optimize-static.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ function findElementGroups(
if (isNodeNonStatic(node)) break;

if (node.type === 'element') {
// This node is now (persumably) part of a group, remove it from `allPossibleElements`
// This node is now (presumably) part of a group, remove it from `allPossibleElements`
const existed = allPossibleElements.delete(node);
// If this node didn't exist in `allPossibleElements`, it's likely that one of its children
// are non-static, hence this node can also not be grouped. So we break out here.
Expand Down

0 comments on commit 71a5258

Please sign in to comment.