Skip to content

Commit

Permalink
fix issue
Browse files Browse the repository at this point in the history
  • Loading branch information
001elijah committed Jun 27, 2023
1 parent ed55cf2 commit d9135d1
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions src/components/TaskColumn/TaskColumn.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,13 @@ import { CardModalWindow } from '../CardModalWindow/CardModalWindow';
import { useState } from 'react';
import { selectCards } from 'redux/Cards/cardsSelectors';
import shortid from 'shortid';
import s from './TaskColumn.module.scss';

export const TaskColumn = ({ columnId }) => {
const [modalOpen, setModalOpen] = useState(false);
const ModalWindowOpen = () => setModalOpen(true);
const modalWindowClose = () => setModalOpen(false);
const cards = useSelector(selectCards);
// const columnTasks = cards.length && cards.filter(card => {
// return card.columnId === columnId
// });

// id,
// title,
// description,
// label = 'Low',
// deadline = '26/06/2023',
// boardId,
// columnId,

return (
<>
<ul>
Expand Down

0 comments on commit d9135d1

Please sign in to comment.