text: import { 
      FETCH_COURSES,
      TOGGLE_ENROLLED
   } from './types';
  
  export function toggleEnrolled(id) {
      return {
          type: TOGGLE_ENROLLED,
          payload: id
      }
  }
  
  export function fetchCourses() {
      return {
          type: FETCH_COURSES,
          payload: [
              {
                  id: 0,
                  title: "Level Design",
                  description: "This course will guide you through on how to make different areas unique in both aesthetics and level design.",
                  enrolled: false
              },
              {
                  id: 1,
                  title: "Build a house using dirt",
                  description: "You will cast down your arrogance and burn your diamonds; as by choosing this course, you will be be taught the ways of Twinkle Winkle Dinkle.",
                  enrolled: false
              },
              {
                  id: 2,
                  title: "DNA Basics for Kids",
                  description: "This course will teach you the fundamentals of DNA coding, and how to implement over 40 different genetic modifications to butterflies; Ranging from bioluminescent wings to extreme agression towards caterpillars.",
                  enrolled: false
              },
              {
                  id: 3,
                  title: 'Guide to becoming an Arpekan Citizen',
                  description: '[REDACTED]',
                  enrolled: false
              },
              {
                  id: 4,
                  title: 'UML for Developers',
                  description: 'This course teaches the foundational building blocks of utilizing UML in order to model software systems.',
                  enrolled: false
              },
              {
                  id: 5,
                  title: 'Algorithm Bootcamp',
                  description: 'Algorithm Bootcamp - In this in depth course you will learn how to work with algorithms, including: how to measure their performance, understanding data structures, and implementing all of the algorithms in code.',
                  enrolled: false
              },
              {
                  id: 6,
                  title: 'Introduction to Programming with Python',
                  description: 'This course teaches the fundamentals of programming and utilizes the Python programming language.',
                  enrolled: false
              },
              {
                  id: 7,
                  title: 'TypeScript Development',
                  description: 'This course gives an introduction to the TypeScript programming language, including walking through the: syntax, best practices, and practical systems for building TypeScript programs.',
                  enrolled: false
              },
              {
                  id: 8,
                  title: 'Introduction to Javascript',
                  description: 'This course gives an introduction to the JavaScript programming language, including the basic syntax, how to work with collections, and input/output.',
                  enrolled: false
              },
              {
                  id: 9,
                  title: 'Dissecting Rails 5',
                  description: 'Learn how to build powerful applications using this comprehensive guide to the Ruby on Rails web framework.',
                  enrolled: false
              },
              {
                  id: 10,
                  title: 'This is an Example of a Large Description',
                  description: 'Lorem ipsum dolor sit amet, cu dicant nostrud mediocritatem sit, graeci everti nusquam eu vix. Ut oporteat antiopam convenire sea, omittam reformidans eos an. An graeci commodo nec. Perpetua aliquando ius ad, id vis consul propriae. Ea fierent assentior vel, invidunt facilisi sit an, eu quo sumo omnis. Mei te semper principes, an mei invidunt repudiare, summo voluptatum cu eos. In vis dolor ignota, mea erat prompta intellegebat et. Vis ne duis altera dissentiet, id tale fierent mandamus duo, ut suas oportere pri. Cu graeci insolens explicari has. Ad pri doctus feugiat, dicant nostro facilis usu ad.',
                  enrolled: false
              }
          ]
      }
  }