remove console.log statements

This commit is contained in:
mbaharip
2024-05-18 15:20:00 +07:00
parent e5367e9a1a
commit 7c15cd5a87
3 changed files with 0 additions and 8 deletions
-6
View File
@@ -103,12 +103,6 @@ export default async function RestPage({ params: { rest } }: Props) {
return values as [{ files: z.infer<typeof Schema_File>[]; nextPageToken?: string }, string]; return values as [{ files: z.infer<typeof Schema_File>[]; nextPageToken?: string }, string];
} }
}); });
console.log(
rest.map((item, index, array) => ({
label: decodeURIComponent(item),
href: index === array.length - 1 ? undefined : `${item}`,
})),
);
return ( return (
<div className={cn("h-fit w-full", "flex flex-col gap-3")}> <div className={cn("h-fit w-full", "flex flex-col gap-3")}>
-1
View File
@@ -639,7 +639,6 @@ export async function GetReadme(encryptedId: string | undefined): Promise<string
}), }),
}); });
console.log(data.files?.length);
if (!data.files?.length) return null; if (!data.files?.length) return null;
let file; let file;
-1
View File
@@ -52,7 +52,6 @@ export default function Password({ path, checkPaths, errorMessage }: Props) {
toast.success("Password accepted! Refreshing...", { toast.success("Password accepted! Refreshing...", {
id: "password", id: "password",
}); });
console.log("Password accepted! Refreshing...");
router.refresh(); router.refresh();
} catch (error) { } catch (error) {
const e = error as Error; const e = error as Error;