Actually everything was working only
Actually everything was working. only after the navigation on this line ,
pathname
always kept coming up with /
and putting the application into the loop
https://github.com/pankod/refine/pull/1712/files#diff-d568b1810907d45b2f3fd4d3891ad38014c0272fa735dbf53e4df65e47224d89R634 Replies
fascinating-indigo•3y ago
48. satırdaki kontrolde pathname === "/" olarak kontrol edilmiş görünüyor. Resource'dan alınan route değeri de muhtemelen aynı ve bu yüzden loopa giriyor. Yada route değeri için ResourceProvider'a erişemiyor olabilir mi?
Yoksa
resources.find((p) => p.list !== undefined)?.route
bu kısım undefined
dönerdi ve <Navigate to=/undefined
olurdu.Hey @khnbzkrt ,
Thank you, i am not sure. Can you share the result if you try this?
btw, Refine community uses English as the language. Thank you for your understanding 🚀
fascinating-indigo•3y ago
I didn't try yet. I commented by only your shared link. I'll try and share result 👍
Thank you 🚀