Not sure exactly what the correct syntax for this is, but I am trying to get the value (string) of the courseTitle variable found in state as the following path (when typing console.log(state):
state
|_____ firestore
|______________ data
|_____________________ "userID"
|_____________________________ "courseID"
|________________________________________ courseTitle
the "userID" and "courseID" are dynamic variables whose value changes depending on the user that is signed in and the course that user selected. courseTitle is a variable that contains the title of the course, and is what is being read in via mapStateToProps.