Skip to content

Commit c1eb0f1

Browse files
committed
Prefer object destructuring
1 parent 2bad6bb commit c1eb0f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

presto-ui/src/components/StageDetail.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ const StageOperatorGraph = ({ stage }) => {
442442
);
443443
}
444444

445-
const latestAttemptExecutionInfo = stage.latestAttemptExecutionInfo;
445+
const {latestAttemptExecutionInfo} = stage;
446446
if (
447447
!latestAttemptExecutionInfo.hasOwnProperty("stats") ||
448448
!latestAttemptExecutionInfo.stats.hasOwnProperty("operatorSummaries") ||

0 commit comments

Comments
 (0)