renderItemActions = (s) => (
    <IconButton
      className={styles.delete}
      icon={DeleteIcon}
      onClick={() => onItemAction(s)}
    />
  )
NOTE: If snippet we're deleting is the last snippet
for that language, remove the language array itself.
Otherwise remove the snippet from the language array.