fix: revert the reduce change for eslint- might be done later in other way

ref: N25B-408
This commit is contained in:
Björn Otgaar
2025-12-15 12:01:39 +01:00
parent 9d4f10213e
commit f22fe38e22
2 changed files with 3 additions and 3 deletions

View File

@@ -155,8 +155,8 @@ export default function BasicBeliefNode(props: NodeProps<BasicBeliefNode>) {
* @param _nodes - The list of all nodes in the current flow graph.
* @returns A simplified object containing the node label and its list of BasicBeliefs.
*/
export function BasicBeliefReduce(node: BasicBeliefNode, _nodes: Node[]) {
const data = node.data;
export function BasicBeliefReduce(node: Node, _nodes: Node[]) {
const data = node.data as BasicBeliefNodeData;
return {
id: node.id,
type: data.belief.type,