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 { t } = useTranslation();
|
||||
|
||||
console.log(error);
|
||||
|
||||
const errorElem =
|
||||
"code" in error && "message" in error ? (
|
||||
<ApiErrorElem error={error as ApiError} />
|
||||
|
|
|
@ -35,8 +35,6 @@ export const loader = async ({ request, params }: LoaderFunctionArgs) => {
|
|||
memberPage = 0;
|
||||
}
|
||||
|
||||
console.log(JSON.stringify(members));
|
||||
|
||||
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 password = body.get("password") as string | null;
|
||||
|
||||
console.log(email, password);
|
||||
|
||||
try {
|
||||
const resp = await serverRequest<AuthResponse>("POST", "/auth/email/login", {
|
||||
body: { email, password },
|
||||
|
|
Loading…
Reference in a new issue