Skip to content

Commit ce852bc

Browse files
committed
fix(TreeCanvas): remove unused variable updatedTree
1 parent ce8f794 commit ce852bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/TreeCanvas.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ const TreeCanvas: React.FC<TreeCanvasProps> = ({
105105
const currentStep = steps[currentStepIndex];
106106
if (!currentStep || !currentStep.nodeId) return;
107107

108-
const updatedTree = applyStepToTree(tree.clone(), currentStep);
108+
applyStepToTree(tree.clone(), currentStep);
109109
updatePositions();
110110

111111
}, [currentStepIndex, steps]);

0 commit comments

Comments
 (0)