From 9415f3b6b8805fc254081330cdb64dbe2782b8bd Mon Sep 17 00:00:00 2001 From: Owen Date: Wed, 3 Jun 2026 10:43:31 +0200 Subject: [PATCH] remove commented out code and old todos --- TODO | 3 --- src/env.ts | 24 ------------------------ 2 files changed, 27 deletions(-) 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;