Skip to content

Commit

Permalink
Use > as a marker for attention
Browse files Browse the repository at this point in the history
Co-authored-by: tjallingt <tjallingt@gmail.com>
  • Loading branch information
sebmarkbage and tjallingt authored Jul 10, 2024
1 parent b409317 commit 18d1d4d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function describeAncestors(
if (node !== null) {
// Describe the node using the hydration diff logic.
// Replace + with - to mark ancestor and child. It's kind of arbitrary.
return describeDiff(node).replace(/\n\+/g, '\n-');
return describeDiff(node).replaceAll(/^[+-]/gm, '>');
}
return '';
}
Expand Down

0 comments on commit 18d1d4d

Please sign in to comment.