[Part 2] #309 Fix Crashing During SSR
@ -1,8 +1,10 @@
import type { LayoutLoad } from "./$types";
import { initNdk } from "$lib/ndk";
export const ssr = false;
export const load: LayoutLoad = () => {
return {
ndk: initNdk(),
};
}