1 2 3 4
export const getData = state => type => state[type]; export const assignedData = state => state.assigned; export const createdData = state => state.created;