hunk.code_window:             redirectUrl,
             );
             if (applicationId && pageId) {
               this.props.enableFirstTimeUserOnboarding(applicationId);
               /*
                * window.location.replace resets the application, adding
                * this timeout to store onboarding variables in indexdb
                */
               setTimeout(() => {
                 window.location.replace(redirectUrl);
               });
             }
           } else if (getIsSafeRedirectURL(redirectUrl)) {
             window.location.replace(redirectUrl);
           }
         } catch (e) {
  
hunk.labels: keep keep keep keep replace replace replace replace replace replace replace replace keep keep keep keep keep
hunk.after_edit:             history.replace(BUILDER_PAGE_URL(applicationId, pageId));
  
hunk.file_path: app/client/src/pages/Applications/index.tsx
hunk.type: replace
file: ---
  name: "\U0001F4D6 Documentation Improvement"
  about: Suggest improvements to our documentation
  title: "[Docs] "
  labels: Documentation
  assignees: Nikhil-Nandagopal
  
  ---
  
  ## Documentation Link 
  
  Add a link to the page which needs improvement (if relevant)
  
  ## Describe the problem
  
  Is the documentation missing? Or is it confusing? Why is it confusing?
  
  ## Describe the improvement
  
  A clear and concise description of the improvement.
  