Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Georges-GNM committed Jan 29, 2025
1 parent 245db68 commit 9bcc447
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion fronts-client/src/components/clipboard/GroupLevel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const GroupLevel = ({
isUneditable,
groupName,
numberOfCardsInGroup,
groupsIds
groupsIds,
}: Props) => (
<CardTypeLevel
arr={cards}
Expand Down
4 changes: 1 addition & 3 deletions fronts-client/src/lib/dnd/Level.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ interface PosSpec {
numberOfCardsInGroup?: number;
groupsIds?: string[];
cards?: any[];

}

const isOnSameLevel = (from: PosSpec, to: PosSpec): boolean =>
Expand Down Expand Up @@ -189,7 +188,7 @@ class Level<T> extends React.Component<Props<T>, State> {
groupName: this.props.groupName,
numberOfCardsInGroup: this.props.numberOfCardsInGroup,
groupsIds: this.props.groupsIds,
cards: this.props.arr
cards: this.props.arr,
};

if (!af) {
Expand All @@ -198,7 +197,6 @@ class Level<T> extends React.Component<Props<T>, State> {

const { parents, id, index, type, data, forceClone } = JSON.parse(af);


if (!isInside(this.props.parents, [type, id])) {
const [parentType, parentId] = parents[parents.length - 1];
const from = !forceClone &&
Expand Down

0 comments on commit 9bcc447

Please sign in to comment.