From 380b950fca24c142fb4fd17c7802804f6dabf09b Mon Sep 17 00:00:00 2001 From: Xevion Date: Tue, 5 Sep 2023 13:34:42 -0500 Subject: [PATCH] Remove duplicate definition of TimezoneSchema from schema.mjs --- src/env/schema.mjs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/env/schema.mjs b/src/env/schema.mjs index bfcac36..b9dae59 100644 --- a/src/env/schema.mjs +++ b/src/env/schema.mjs @@ -1,8 +1,6 @@ // @ts-check import { z } from 'zod'; - -// If this line fails, you're not running Node v18 or higher. Please upgrade. -const TimezoneSchema = z.enum(Intl.supportedValuesOf("timeZone")); +import { TimezoneSchema } from '@/utils/timezone'; /** * Specify your server-side environment variables schema here.