mirror of
https://github.com/OFFIS-ESC/constellation-analyzer
synced 2026-01-27 07:43:41 +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
|
// Only update if source or target changed
|
||||||
if (wasRerouted) {
|
if (wasRerouted) {
|
||||||
// Destructure to separate handle properties from the rest
|
// Destructure to separate handle properties from the rest
|
||||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
||||||
const { sourceHandle, targetHandle, ...edgeWithoutHandles } = edge;
|
const { sourceHandle, targetHandle, ...edgeWithoutHandles } = edge;
|
||||||
|
|
||||||
// Create new edge object with updated source/target
|
// 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 pendingEdgeId = pendingType === 'edge' ? pendingId : null;
|
||||||
|
|
||||||
const newEdges = visibleEdges.map((edge) => {
|
const newEdges = visibleEdges.map((edge) => {
|
||||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
||||||
const { sourceHandle, targetHandle, ...edgeWithoutHandles } = edge;
|
const { sourceHandle, targetHandle, ...edgeWithoutHandles } = edge;
|
||||||
return {
|
return {
|
||||||
...edgeWithoutHandles,
|
...edgeWithoutHandles,
|
||||||
|
|
@ -367,7 +365,6 @@ const GraphEditor = ({ onNodeSelect, onEdgeSelect, onGroupSelect, onMultiSelect,
|
||||||
);
|
);
|
||||||
|
|
||||||
return visibleEdges.map((edge) => {
|
return visibleEdges.map((edge) => {
|
||||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
||||||
const { sourceHandle, targetHandle, ...edgeWithoutHandles } = edge;
|
const { sourceHandle, targetHandle, ...edgeWithoutHandles } = edge;
|
||||||
return {
|
return {
|
||||||
...edgeWithoutHandles,
|
...edgeWithoutHandles,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue