Skip to content

Commit

Permalink
Comment out $env/dynamic/private usage unti SvelteKit is upgraded t…
Browse files Browse the repository at this point in the history
…o `2.3.2+` to fix Safari issue
  • Loading branch information
techniq committed Jan 31, 2024
1 parent e80a783 commit 66877f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/svelte-ux/src/routes/+layout.server.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { redirect } from '@sveltejs/kit';

import { env } from '$env/dynamic/private';
// import { env } from '$env/dynamic/private';

import themes from '../../themes.json';
import { getThemeNames } from '$lib/styles/theme';
Expand All @@ -16,6 +16,6 @@ export async function load({ url }) {
return {
themes: getThemeNames(themes),
// themes: { light: ['light'], dark: ['dark'] },
pr_id: env.VERCEL_GIT_PULL_REQUEST_ID,
// pr_id: env.VERCEL_GIT_PULL_REQUEST_ID, // TODO: Re-add once SvelteKit updated to `2.3.2+` - https://github.com/sveltejs/kit/releases/tag/%40sveltejs%2Fkit%402.3.2
};
}

0 comments on commit 66877f7

Please sign in to comment.