Skip to content

Commit 41e20b9

Browse files
committed
Hide ignore listed rows
1 parent 37f5350 commit 41e20b9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/react-devtools-shared/src/devtools/views/Components/StackTraceView.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,12 @@ export function CallSiteView({
6060
symbolicatedCallSite !== null ? symbolicatedCallSite.location : callSite;
6161
const ignored =
6262
symbolicatedCallSite !== null ? symbolicatedCallSite.ignored : false;
63+
if (ignored) {
64+
// TODO: Make an option to be able to toggle the display of ignore listed rows.
65+
// Ideally this UI should be higher than a single Stack Trace so that there's not
66+
// multiple buttons in a single inspection taking up space.
67+
return null;
68+
}
6369
return (
6470
<div className={ignored ? styles.IgnoredCallSite : styles.CallSite}>
6571
{functionName || virtualFunctionName}

0 commit comments

Comments
 (0)