old_contents: const initialState = [
    {
      id: 1,
      name: 'Languages'
    },
    {
      id: 2,
      name: 'Locations'
    },
    {
      id: 3,
      name: 'Technologies'
    }
  ]
  
  export default (state = initialState, {payload, type}) => {
    switch (type) {
      default:
        return state
    }
  }
  
new_contents: const initialState = [
    {
      colour: 'violet',
      id: 1,
      name: 'Languages'
    },
    {
      colour: 'green',
      id: 2,
      name: 'Locations'
    },
    {
      colour: 'blue',
      id: 3,
      name: 'Technologies'
    }
  ]
  
  export default (state = initialState, {payload, type}) => {
    switch (type) {
      default:
        return state
    }
  }
  
subject: Add colour property to categories