diff --git a/sites/svelte.dev/src/config.js b/sites/svelte.dev/src/config.js index 62527fc5be..bdf5a5deca 100644 --- a/sites/svelte.dev/src/config.js +++ b/sites/svelte.dev/src/config.js @@ -1,6 +1,6 @@ // REPL props -export const svelteUrl = `https://unpkg.com/svelte@3`; +export const svelteUrl = `https://unpkg.com/svelte@4`; export const mapbox_setup = `window.MAPBOX_ACCESS_TOKEN = '${ import.meta.env.VITE_MAPBOX_ACCESS_TOKEN }';`; diff --git a/sites/svelte.dev/src/routes/tutorial/[slug]/+page.svelte b/sites/svelte.dev/src/routes/tutorial/[slug]/+page.svelte index ac9d9776e9..d184005ec8 100644 --- a/sites/svelte.dev/src/routes/tutorial/[slug]/+page.svelte +++ b/sites/svelte.dev/src/routes/tutorial/[slug]/+page.svelte @@ -6,8 +6,6 @@ import { mapbox_setup, svelteUrl } from '../../../config.js'; import TableOfContents from './TableOfContents.svelte'; - import '@sveltejs/site-kit/styles/code.css'; - export let data; /** @type {import('@sveltejs/repl').default} */