diff --git a/src/routes/graphs/+layout.server.ts b/src/routes/graphs/+layout.server.ts deleted file mode 100644 index a63087a..0000000 --- a/src/routes/graphs/+layout.server.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { redirect } from '@sveltejs/kit'; - -export function load({ url }: { url: URL }) { - if (url.pathname == '/graphs') { - throw redirect(302, '/graphs/tab'); - } - -} \ No newline at end of file diff --git a/src/routes/graphs/+layout.svelte b/src/routes/graphs/+layout.svelte index 16da867..17c17b6 100644 --- a/src/routes/graphs/+layout.svelte +++ b/src/routes/graphs/+layout.svelte @@ -1,6 +1,35 @@