diff --git a/ts/routes/editor/[noteId]/+page.svelte b/ts/routes/editor/[noteId]/+page.svelte new file mode 100644 index 000000000..995cede15 --- /dev/null +++ b/ts/routes/editor/[noteId]/+page.svelte @@ -0,0 +1,12 @@ + + + +
{data.noteId}
diff --git a/ts/routes/editor/[noteId]/+page.ts b/ts/routes/editor/[noteId]/+page.ts new file mode 100644 index 000000000..66e82b2cd --- /dev/null +++ b/ts/routes/editor/[noteId]/+page.ts @@ -0,0 +1,10 @@ +// Copyright: Ankitects Pty Ltd and contributors +// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html + +import type { PageLoad } from "./$types"; + +export const load = (async ({ params }) => { + const noteId = BigInt(params.noteId); + + return { noteId }; +}) satisfies PageLoad;