I have encountered a difficulty where the shared data from the HandleInertiaRequests middleware is not being passed to the frontend. However, I need this data to, for example, use the Team Switch function in AppLayout.vue. I use Jetstream. How can this problem be solved?