This PR adds a fix for an issue that occurred after completing a lesson where the back arrow didn't work. The problem was that it failed to consider cases when the request_path was "". After completing an adaptive page, React called an endpoint in our backend that redirects twice to different endpoints, and we never filled out the request_path. The back link wasn't prepared for this scenario.
Ticket: MER-3506
This PR adds a fix for an issue that occurred after completing a lesson where the back arrow didn't work. The problem was that it failed to consider cases when the
request_path
was""
. After completing an adaptive page, React called an endpoint in our backend that redirects twice to different endpoints, and we never filled out therequest_path
. The back link wasn't prepared for this scenario.