Skip to content

Open-source event management and ticket selling platform — perfect for concerts, conferences, and everything in between 🎟️ If you find this project helpful, please consider giving us a star ⭐️

remove debugging calls

Dave Earley2f7d7293f04d
diff --git a/frontend/src/api/user.client.ts b/frontend/src/api/user.client.ts
index e04a1d5e3..7b05b6c32 100644
--- a/frontend/src/api/user.client.ts
+++ b/frontend/src/api/user.client.ts
@@ -20,7 +20,6 @@ export interface UpdateUserRequest {
export const userClient = {
confirmEmailAddress: async (userId: IdParam, token: string) => {
- console.error('token', api.defaults.headers.common['Authorization']);
const response = await api.post<GenericDataResponse<User>>(`users/${userId}/confirm-email/${token}`);
return response.data;
},
diff --git a/frontend/src/components/routes/auth/Login/index.tsx b/frontend/src/components/routes/auth/Login/index.tsx
index ef2ba0e42..5182d9c20 100644
--- a/frontend/src/components/routes/auth/Login/index.tsx
+++ b/frontend/src/components/routes/auth/Login/index.tsx
@@ -26,7 +26,6 @@ const Login = () => {
(userData: LoginData) => authClient.login(userData),
{
onSuccess: (response: LoginResponse) => {
- console.log(response.token, response);
if (response.token) {
redirectToPreviousUrl();
return;
diff --git a/frontend/src/components/routes/event/Settings/Sections/HomepageAndCheckoutSettings/index.tsx b/frontend/src/components/routes/event/Settings/Sections/HomepageAndCheckoutSettings/index.tsx
index de45cdf03..a92b7ef57 100644
--- a/frontend/src/components/routes/event/Settings/Sections/HomepageAndCheckoutSettings/index.tsx
+++ b/frontend/src/components/routes/event/Settings/Sections/HomepageAndCheckoutSettings/index.tsx
@@ -16,7 +16,6 @@ const isEmptyHtml = (content: string) => {
const tempDiv = document.createElement('div');
tempDiv.innerHTML = content;
const textContent = tempDiv.textContent?.trim();
- console.log(textContent === '' || textContent === null);
return textContent === '' || textContent === null;
};
diff --git a/frontend/src/hooks/useFormErrorResponseHandler.tsx b/frontend/src/hooks/useFormErrorResponseHandler.tsx
index 6873643f4..2b4399ada 100644
--- a/frontend/src/hooks/useFormErrorResponseHandler.tsx
+++ b/frontend/src/hooks/useFormErrorResponseHandler.tsx
@@ -22,7 +22,6 @@ export const useFormErrorResponseHandler = () => {
}
if (error?.response?.status && error.response.status >= 500) {
- console.error(error);
showError((
<>
<p>