@@ -1,9 +1,5 @@
|
||||
import React, { useCallback, useEffect, useState } from "react";
|
||||
import { useDispatch, useSelector } from "react-redux";
|
||||
|
||||
// import Container from "../dnd/Container";
|
||||
// import Draggable from "../dnd/Draggable";
|
||||
|
||||
import { DragDropContext, Droppable } from "../dnd/lib";
|
||||
|
||||
import PropTypes from "prop-types";
|
||||
@@ -238,8 +234,6 @@ const BoardContainer = ({
|
||||
]
|
||||
);
|
||||
|
||||
let cardIndex = 0;
|
||||
|
||||
return (
|
||||
<components.BoardWrapper style={style} orientation={orientation} draggable={false}>
|
||||
<PopoverWrapper>
|
||||
@@ -269,7 +263,7 @@ const BoardContainer = ({
|
||||
editable={editable && !lane.disallowAddingCard}
|
||||
{...laneOtherProps}
|
||||
{...passThroughProps}
|
||||
cards={lane.cards.map((card) => ({ ...card, idx: cardIndex++ }))}
|
||||
cards={lane.cards}
|
||||
/>
|
||||
);
|
||||
})}
|
||||
|
||||
Reference in New Issue
Block a user