Skip to content

Commit

Permalink
fix: fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
Rassl committed Dec 19, 2024
1 parent 3675d07 commit 471d4eb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/App/SideBar/SelectedNodeView/Default/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,10 @@ export const Default = () => {
}))
.sort((a, b) => a.sequence - b.sequence)
.map((i) => response.nodes.find((n) => n.ref_id === i.node))
.filter((i) => !!i)

setSequencedNodes(nodesWithSequence)
const filteredNodes = nodesWithSequence.filter((i) => !!i)

setSequencedNodes(filteredNodes as Node[])
}
}
}
Expand Down

0 comments on commit 471d4eb

Please sign in to comment.