fix: remove unused eslint-disable directives

Remove three unnecessary eslint-disable comments for @typescript-eslint/no-unused-vars
that were no longer needed, as the destructured variables are actually used.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Jan-Henrik Bruhn 2025-10-21 11:49:33 +02:00
parent 59096a5644
commit 60d13eda19

View file

@ -220,7 +220,6 @@ const GraphEditor = ({ onNodeSelect, onEdgeSelect, onGroupSelect, onMultiSelect,
// Only update if source or target changed
if (wasRerouted) {
// Destructure to separate handle properties from the rest
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const { sourceHandle, targetHandle, ...edgeWithoutHandles } = edge;
// Create new edge object with updated source/target
@ -344,7 +343,6 @@ const GraphEditor = ({ onNodeSelect, onEdgeSelect, onGroupSelect, onMultiSelect,
const pendingEdgeId = pendingType === 'edge' ? pendingId : null;
const newEdges = visibleEdges.map((edge) => {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const { sourceHandle, targetHandle, ...edgeWithoutHandles } = edge;
return {
...edgeWithoutHandles,
@ -367,7 +365,6 @@ const GraphEditor = ({ onNodeSelect, onEdgeSelect, onGroupSelect, onMultiSelect,
);
return visibleEdges.map((edge) => {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const { sourceHandle, targetHandle, ...edgeWithoutHandles } = edge;
return {
...edgeWithoutHandles,