Skip to content

Commit 9c18422

Browse files
committed
refactor(webapp): drop the comments from the branch archive redirect
Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 5669e0d commit 9c18422

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

‎apps/webapp/app/routes/resources.branches.archive.tsx‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ export async function action({ request }: ActionFunctionArgs) {
3535
return redirectWithErrorMessage("/", request, "Invalid form data");
3636
}
3737

38-
// Keep the post-action redirect same-origin.
3938
const redirectPath = sanitizeRedirectPath(submission.value.redirectPath);
4039

4140
const archiveBranchService = new ArchiveBranchService();
@@ -48,8 +47,6 @@ export async function action({ request }: ActionFunctionArgs) {
4847
);
4948

5049
if (result.success) {
51-
// Back to the exact list page the archive was started from, so pagination,
52-
// filters and search survive.
5350
return redirectWithSuccessMessage(
5451
redirectPath,
5552
request,

0 commit comments

Comments
 (0)