fix: revert the reduce change for eslint- might be done later in other way
ref: N25B-408
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user