This is due to having multiple <SessionProvider>'s.
<SessionProvider>
Remove a . which causes conflicts in the React dependency tree and context resolution.