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 ? (
|
||||
<CertificationsBranch
|
||||
{...props}
|
||||
status={status}
|
||||
instances={inst}
|
||||
findings={protocolAtStatus}
|
||||
{...props}
|
||||
/>
|
||||
) : null}
|
||||
</TreeBranch>
|
||||
|
||||
Reference in New Issue
Block a user