Skip to content

Commit 3ed97a1

Browse files
committed
fix eslint
1 parent 6bb1629 commit 3ed97a1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/plugins/presentation_util/public/components/controls/control_group/component/control_group_component.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,10 @@ export const ControlGroup = () => {
7878
);
7979

8080
const [draggingId, setDraggingId] = useState<string | null>(null);
81-
const draggingIndex = useMemo(() => (draggingId ? idsInOrder.indexOf(draggingId) : -1), [
82-
idsInOrder,
83-
draggingId,
84-
]);
81+
const draggingIndex = useMemo(
82+
() => (draggingId ? idsInOrder.indexOf(draggingId) : -1),
83+
[idsInOrder, draggingId]
84+
);
8585

8686
const sensors = useSensors(
8787
useSensor(PointerSensor),

0 commit comments

Comments
 (0)