remove commented out code and old todos

This commit is contained in:
2026-06-03 10:43:31 +02:00
parent 95973937f5
commit 9415f3b6b8
2 changed files with 0 additions and 27 deletions
-3
View File
@@ -1,6 +1,3 @@
// ZOD
FEN string
- favicon and page titles - SEO related things - favicon and page titles - SEO related things
- rearrange buttons / header space - collapse on smaller screens - rearrange buttons / header space - collapse on smaller screens
- Lichess login - Lichess login
-24
View File
@@ -37,27 +37,3 @@ const getEnv = () => {
}; };
export const env = getEnv(); export const env = getEnv();
//
// const isServer = typeof window === "undefined";
// const rawEnv = isServer ? process.env : import.meta.env;
//
// let parsedEnv: z.infer<typeof fullSchema>;
//
// 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<typeof fullSchema>;
// }
//
// export const env = parsedEnv;