diff --git a/website/src/lib/components/ui/skeleton/skeleton.svelte b/website/src/lib/components/ui/skeleton/skeleton.svelte index f0e544e..c7e3d26 100644 --- a/website/src/lib/components/ui/skeleton/skeleton.svelte +++ b/website/src/lib/components/ui/skeleton/skeleton.svelte @@ -6,12 +6,12 @@ ref = $bindable(null), class: className, ...restProps - }: WithoutChildren>> = $props(); + }: WithoutChildren>> = $props(); - +> diff --git a/website/src/routes/+layout.ts b/website/src/routes/+layout.ts new file mode 100644 index 0000000..5829b7e --- /dev/null +++ b/website/src/routes/+layout.ts @@ -0,0 +1 @@ +export const ssr = false; \ No newline at end of file diff --git a/website/src/routes/api/v1/hopium/[id]/+server.ts b/website/src/routes/api/v1/hopium/[id]/+server.ts index 1821732..1c3f9b5 100644 --- a/website/src/routes/api/v1/hopium/[id]/+server.ts +++ b/website/src/routes/api/v1/hopium/[id]/+server.ts @@ -16,5 +16,5 @@ export async function GET(event) { route: { id: "/api/hopium/questions/[id]" } }; - return await getHopiumQuestion(hopiumEvent as any); + return await getHopiumQuestion(hopiumEvent); }