Fix incorrect admin login error handling

Change-Id: I68c338b0cb7b261db6c9240cbc5c1e253290e753
diff --git a/client/src/components/UsernameChooser.jsx b/client/src/components/UsernameChooser.jsx
index 77c1d73..19b8380 100644
--- a/client/src/components/UsernameChooser.jsx
+++ b/client/src/components/UsernameChooser.jsx
@@ -33,18 +33,14 @@
   useEffect(() => {
     if (isInputValid(query)) {
       setIsLoading(true);
-      axios
-        .get(`/ns/username/${query}`, {
-          baseURL: apiUrl,
-        })
-        .then((res) => {
-          setIsLoading(false);
-          if (res.status === 200) {
-            setData(res.data);
-          } else {
-            throw res.status;
-          }
-        });
+      axios.get(`/ns/username/${query}`, { baseURL: apiUrl }).then((res) => {
+        setIsLoading(false);
+        if (res.status === 200) {
+          setData(res.data);
+        } else {
+          throw res.status;
+        }
+      });
     } else {
       setError(400);
     }