Skip to content

Commit 601ddc9

Browse files
committed
[dev-overlay] Dim ignore-listed callstack frames when shown
1 parent fdf7b5b commit 601ddc9

File tree

1 file changed

+5
-0
lines changed
  • packages/next/src/client/components/react-dev-overlay/ui/components/call-stack-frame

1 file changed

+5
-0
lines changed

Diff for: packages/next/src/client/components/react-dev-overlay/ui/components/call-stack-frame/call-stack-frame.tsx

+5
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ export const CallStackFrame: React.FC<{
4040
<div
4141
data-nextjs-call-stack-frame
4242
data-nextjs-call-stack-frame-no-source={!hasSource}
43+
data-nextjs-call-stack-frame-ignored={frame.ignored}
4344
style={
4445
{
4546
'--index': index,
@@ -85,6 +86,10 @@ export const CALL_STACK_FRAME_STYLES = `
8586
margin-bottom: 0;
8687
}
8788
89+
[data-nextjs-call-stack-frame-ignored="true"] {
90+
opacity: 0.6;
91+
}
92+
8893
[data-nextjs-call-stack-frame] {
8994
user-select: text;
9095
display: block;

0 commit comments

Comments
 (0)