Revert "SSR off"

This reverts commit 42ffa3c51e.
This commit is contained in:
Face 2025-06-27 21:13:48 +03:00
parent 42ffa3c51e
commit 95d6997774
3 changed files with 5 additions and 4 deletions

View file

@ -6,12 +6,12 @@
ref = $bindable(null),
class: className,
...restProps
}: WithoutChildren<WithElementRef<HTMLAttributes<HTMLSpanElement>>> = $props();
}: WithoutChildren<WithElementRef<HTMLAttributes<HTMLDivElement>>> = $props();
</script>
<span
<div
bind:this={ref}
data-slot="skeleton"
class={cn("bg-accent animate-pulse rounded-md", className)}
{...restProps}
></span>
></div>

View file

@ -0,0 +1 @@
export const ssr = false;

View file

@ -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);
}