Julien-R44/tuyau

Error with client.$current()

Opened this issue · 1 comments

Hello,

I'm having errors on my inertia project when I'm trying to use client.$current()
The errors are different with SSR and NoSSR.

With SSR:
image

With NoSSR:
image

You can check my Inertia implementation directly in this repository https://github.com/HowWhat42/adonis-infinite
I'm using this function in my auth layout file to do conditionnal rendering depending on the current route.

Hi, I have exactly the same issue here with that function in a AdonisJS Inertia project