Fix findings tree TypeScript duplicate findings prop.

Spread parent props first, then override with the bucketed findings list so Next build typecheck passes.
This commit is contained in:
2026-09-20 10:05:02 +02:00
parent bee6369c1d
commit 1f3876eadc
@@ -107,9 +107,8 @@ export function FindingsTree(props: FindingsTreeProps) {
{roots.map((root) => { {roots.map((root) => {
const body = ( const body = (
<DesignatorForest <DesignatorForest
findings={root.items}
graph={props.graph}
{...props} {...props}
findings={root.items}
/> />
); );
if (!showRoots) return <div key={root.id}>{body}</div>; if (!showRoots) return <div key={root.id}>{body}</div>;