Skip to content

Commit

Permalink
Restore using $env/dynamic/private (doesn't appear to solve Safari …
Browse files Browse the repository at this point in the history
…issue)
  • Loading branch information
techniq committed Jan 31, 2024
1 parent 66877f7 commit 03c3878
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, // TODO: Re-add once SvelteKit updated to `2.3.2+` - https://github.com/sveltejs/kit/releases/tag/%40sveltejs%2Fkit%402.3.2
pr_id: env.VERCEL_GIT_PULL_REQUEST_ID,
};
}

0 comments on commit 03c3878

Please sign in to comment.