사소한 리팩토링 2

This commit is contained in:
static
2025-12-29 18:14:42 +09:00
parent 174305ca1b
commit 15b6a53710
12 changed files with 37 additions and 39 deletions

View File

@@ -0,0 +1,7 @@
import { createCaller } from "$trpc/router.server";
import type { PageServerLoad } from "./$types";
export const load: PageServerLoad = async (event) => {
const { nickname } = await createCaller(event).user.get();
return { nickname };
};