Fix incorrect admin login error handling
Change-Id: I68c338b0cb7b261db6c9240cbc5c1e253290e753
diff --git a/client/src/App.tsx b/client/src/App.tsx
index f5c36a7..86c226f 100644
--- a/client/src/App.tsx
+++ b/client/src/App.tsx
@@ -23,9 +23,7 @@
import { apiUrl } from './utils/constants';
export async function checkSetupStatus(): Promise<boolean> {
- const { data } = await axios.get('/setup/check', {
- baseURL: apiUrl,
- });
+ const { data } = await axios.get('/setup/check', { baseURL: apiUrl });
return data.isSetupComplete;
}