From 881b4f001a6d06a2e5b4cdea0c5bb9e65bb888d9 Mon Sep 17 00:00:00 2001
From: Cannon Lock <clock@wisc.edu>
Date: Mon, 6 May 2024 12:07:23 -0500
Subject: [PATCH] Fixup a merge issue

---
 web_ui/frontend/app/registry/cache/edit/page.tsx | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/web_ui/frontend/app/registry/cache/edit/page.tsx b/web_ui/frontend/app/registry/cache/edit/page.tsx
index 35b4112c5..9e1f5ee9e 100644
--- a/web_ui/frontend/app/registry/cache/edit/page.tsx
+++ b/web_ui/frontend/app/registry/cache/edit/page.tsx
@@ -20,17 +20,6 @@
 
 import {PutPage} from "@/app/registry/components/PutPage";
 
-            if(!response.ok){
-                try {
-                    let data = await response.json()
-                    setAlert({severity: "error", message: response.status + ": " + data['error']})
-                } catch (e) {
-                    setAlert({severity: "error", message: `Failed to edit namespace: ${formData.get("prefix")}`})
-                }
-            } else {
-                setAlert({severity: "success", message: `Successfully edited namespace: ${formData.get("prefix")}`})
-                setTimeout(() => {window.location.href = "/view/registry/"}, 3000)
-            }
 import {namespaceToCache, putGeneralNamespace} from "@/app/registry/components/util";
 import {Box, Grid, Typography} from "@mui/material";
 import React from "react";