From 298f3d9b8eb625a6213e8f0e488d6b7c493f3290 Mon Sep 17 00:00:00 2001
From: rhpidfyre <brandon@rhpidfyre.io>
Date: Mon, 24 Mar 2025 18:45:07 -0400
Subject: [PATCH] Change these to `const` so the code builds

---
 web/src/app/submissions/[submissionId]/_reviewButtons.tsx | 2 +-
 web/src/app/submit/page.tsx                               | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/web/src/app/submissions/[submissionId]/_reviewButtons.tsx b/web/src/app/submissions/[submissionId]/_reviewButtons.tsx
index 85e6601..2b9f049 100644
--- a/web/src/app/submissions/[submissionId]/_reviewButtons.tsx
+++ b/web/src/app/submissions/[submissionId]/_reviewButtons.tsx
@@ -25,7 +25,7 @@ async function ReviewButtonClicked(action: Action, submissionId: string) {
 		});
 		// Check if the HTTP request was successful
 		if (!response.ok) {
-			let errorDetails = await response.text();
+			const errorDetails = await response.text();
 
 			// Throw an error with detailed information
 			throw new Error(`HTTP error! status: ${response.status}, details: ${errorDetails}`);
diff --git a/web/src/app/submit/page.tsx b/web/src/app/submit/page.tsx
index 870cfd1..6f3c1b7 100644
--- a/web/src/app/submit/page.tsx
+++ b/web/src/app/submit/page.tsx
@@ -53,7 +53,7 @@ export default function SubmissionInfoPage() {
 
 			// Check if the HTTP request was successful
 			if (!response.ok) {
-				let errorDetails = await response.text();
+				const errorDetails = await response.text();
 
 				// Throw an error with detailed information
 				throw new Error(`HTTP error! status: ${response.status}, details: ${errorDetails}`);