You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try returning a redirectWithError with a custom status I get my toast notification displayed just fine but the actual redirect doesn't happen. If I remove the custom status code it works as expected.
@jahvi I'm pretty sure the reason behind it is that you rewrite the redirect status code which is 403 and react router doesn't pick it up as a redirect probably, but dataWithError should work fine, would you mind creating a minimum repro and i'll look at it and see if it's the libraries fault or not. Maybe it's something with the fact that the behaviors changed with rr7 slightly
When I try returning a
redirectWithError
with a customstatus
I get my toast notification displayed just fine but the actual redirect doesn't happen. If I remove the custom status code it works as expected.Eg, this works:
But this doesn't:
Do I need to handle merging the headers?
I'm using v1.2.2
The text was updated successfully, but these errors were encountered: