const Reducer = (state =  {

}, action) => {
    switch(action.type) {
        // case 'ADD_TODO':
        //     return { ...state, nextId: state.nextId + 1,
        //         todoItems: [ ...state.todoItems,
        //             {id:state.nextId, text: action.text, done: false}]
        //     }
        default:
            return state
    }
}

export default Reducer
@@ -21,17 +21,44 @@
 te =  %7B%0A
+    nextPage: 'LandingPage'
 %0A
-
 %7D, actio
@@ -102,26 +102,23 @@
     
- //
  case '
-ADD_TODO
+navigate
 ':%0A 
@@ -119,27 +119,24 @@
 te':%0A       
- //
      return 
@@ -139,108 +139,38 @@
 urn 
-%7B ...state, nextId: state.nextId + 1,%0A        //         todoItems: %5B ...state.todoItems,%0A     
+Object.assign(%7B%7D, state, %7B%0A
    
-//
     
@@ -182,66 +182,37 @@
     
-%7Bid:state.nextId, text: action.text, done: false%7D%5D
+nextPage: action.text
 %0A       
  // 
@@ -211,17 +211,15 @@
     
- //
      %7D
+)
 %0A   

Add a reducer for navigation.