Closed leonderijke closed 6 years ago
When using the query parameter in the redirect call in the onEnter hook, the query is added twice. This can be seen in the failing test output:
query
redirect
onEnter
AssertionError: expected [ 'value', 'value' ] to equal 'value'
Use case for the query parameter: redirect the user to the requested path after logging in.
When using the
query
parameter in theredirect
call in theonEnter
hook, the query is added twice. This can be seen in the failing test output:Use case for the
query
parameter: redirect the user to the requested path after logging in.