Omer
Omer3y ago

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-d568b1810907d45b2f3fd4d3891ad38014c0272fa735dbf53e4df65e47224d89R63
4 Replies
fascinating-indigo
fascinating-indigo3y 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.
Omer
OmerOP3y ago
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
fascinating-indigo3y ago
I didn't try yet. I commented by only your shared link. I'll try and share result 👍
Omer
OmerOP3y ago
Thank you 🚀

Did you find this page helpful?