userHasAuthenticated is not a function

I’m loving this guide so far! I’ve come to the ‘Add the Session to the State’ section but after following all the steps, and after logging in, I’m getting an error that says “userHasAuthenticated is not a function”. I’m not sure what else to do. I tried looking at other forums that were dealing with the same issue but they forgot to add childProps to which I can’t find reference to in the guide so doesn’t really help me. Any help would be greatly appreciated!