fix(frontend): remove debug console.logs

This commit is contained in:
sam 2024-09-26 15:26:37 +02:00
parent df93f28273
commit e7e4937082
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
3 changed files with 0 additions and 6 deletions

View file

@ -99,8 +99,6 @@ export function ErrorBoundary() {
const error: any = useRouteError(); const error: any = useRouteError();
const { t } = useTranslation(); const { t } = useTranslation();
console.log(error);
const errorElem = const errorElem =
"code" in error && "message" in error ? ( "code" in error && "message" in error ? (
<ApiErrorElem error={error as ApiError} /> <ApiErrorElem error={error as ApiError} />

View file

@ -35,8 +35,6 @@ export const loader = async ({ request, params }: LoaderFunctionArgs) => {
memberPage = 0; memberPage = 0;
} }
console.log(JSON.stringify(members));
return json({ user, members, currentPage: memberPage, pageCount }); return json({ user, members, currentPage: memberPage, pageCount });
}; };

View file

@ -53,8 +53,6 @@ export const action = async ({ request }: ActionFunctionArgs) => {
const email = body.get("email") as string | null; const email = body.get("email") as string | null;
const password = body.get("password") as string | null; const password = body.get("password") as string | null;
console.log(email, password);
try { try {
const resp = await serverRequest<AuthResponse>("POST", "/auth/email/login", { const resp = await serverRequest<AuthResponse>("POST", "/auth/email/login", {
body: { email, password }, body: { email, password },