Closed kenn closed 1 month ago
In other words,
throw redirect('/')
works but
throw redirectWithError('/', 'Error!')
does not work. Is this a known limitation?
Using unstable_singleFetch: true
unstable_singleFetch: true
@kenn you should await when you throw, eg. throw await redirectWithError("/", "Error!")
throw await redirectWithError("/", "Error!")
ooh, missed it in a plain sight 😅 thank you!
In other words,
works but
does not work. Is this a known limitation?
Using
unstable_singleFetch: true