fix(frontend): remove debug console.logs
This commit is contained in:
parent
df93f28273
commit
e7e4937082
3 changed files with 0 additions and 6 deletions
|
@ -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} />
|
||||||
|
|
|
@ -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 });
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -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 },
|
||||||
|
|
Loading…
Reference in a new issue