diff --git a/TODO b/TODO index 77e4ba9..3510cc4 100644 --- a/TODO +++ b/TODO @@ -1,6 +1,3 @@ -// ZOD -FEN string - - favicon and page titles - SEO related things - rearrange buttons / header space - collapse on smaller screens - Lichess login diff --git a/src/env.ts b/src/env.ts index fcdc1af..f4de82b 100644 --- a/src/env.ts +++ b/src/env.ts @@ -37,27 +37,3 @@ const getEnv = () => { }; export const env = getEnv(); - -// -// const isServer = typeof window === "undefined"; -// const rawEnv = isServer ? process.env : import.meta.env; -// -// let parsedEnv: z.infer; -// -// if (isServer) { -// const _env = fullSchema.safeParse(rawEnv); -// if (!_env.success) { -// console.error("❌ Invalid Server Environment Variables:"); -// throw new Error("Invalid environment variables"); -// } -// parsedEnv = _env.data; -// } else { -// const _env = clientSchema.safeParse(rawEnv); -// if (!_env.success) { -// console.error("❌ Invalid Client Environment Variables:"); -// throw new Error("Invalid environment variables"); -// } -// parsedEnv = _env.data as z.infer; -// } -// -// export const env = parsedEnv;