mirror of
https://github.com/OFFIS-ESC/constellation-analyzer
synced 2026-01-26 23:43:40 +00:00
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:
parent
59096a5644
commit
60d13eda19
1 changed files with 0 additions and 3 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue