mirror of
https://github.com/Nezumi-2711/next-gdrive-index.git
synced 2026-09-22 13:38:38 +00:00
remove console.log statements
This commit is contained in:
@@ -103,12 +103,6 @@ export default async function RestPage({ params: { rest } }: Props) {
|
||||
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 (
|
||||
<div className={cn("h-fit w-full", "flex flex-col gap-3")}>
|
||||
|
||||
@@ -639,7 +639,6 @@ export async function GetReadme(encryptedId: string | undefined): Promise<string
|
||||
}),
|
||||
});
|
||||
|
||||
console.log(data.files?.length);
|
||||
if (!data.files?.length) return null;
|
||||
|
||||
let file;
|
||||
|
||||
@@ -52,7 +52,6 @@ export default function Password({ path, checkPaths, errorMessage }: Props) {
|
||||
toast.success("Password accepted! Refreshing...", {
|
||||
id: "password",
|
||||
});
|
||||
console.log("Password accepted! Refreshing...");
|
||||
router.refresh();
|
||||
} catch (error) {
|
||||
const e = error as Error;
|
||||
|
||||
Reference in New Issue
Block a user