Fix findings-tree TS: do not pass findings twice.
Spread FindingsTreeProps first, then override protocol findings for CertificationsBranch so Next production typecheck can build 2.83.0.
This commit is contained in:
@@ -172,10 +172,10 @@ export function FindingsTree(props: FindingsTreeProps) {
|
|||||||
))}
|
))}
|
||||||
{cert ? (
|
{cert ? (
|
||||||
<CertificationsBranch
|
<CertificationsBranch
|
||||||
|
{...props}
|
||||||
status={status}
|
status={status}
|
||||||
instances={inst}
|
instances={inst}
|
||||||
findings={protocolAtStatus}
|
findings={protocolAtStatus}
|
||||||
{...props}
|
|
||||||
/>
|
/>
|
||||||
) : null}
|
) : null}
|
||||||
</TreeBranch>
|
</TreeBranch>
|
||||||
|
|||||||
Reference in New Issue
Block a user