import React from 'react'; import { useSelector, shallowEqual } from 'react-redux'; import { withRedux } from '../lib/redux'; import Card from './card'; import AddCard from './addCard'; const column = ({ name, index, headerColor }) => { const cards = useSelector(state => state.columns[index].cards); return