mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-27 13:47:56 -05:00
8 lines
306 B
TypeScript
8 lines
306 B
TypeScript
import { getUser } from "~/features/auth/core/user.server";
|
|
import { resolveLayoutData } from "../core/layout.server";
|
|
|
|
/** Polled by `LayoutDataProvider` so refreshing the app shell doesn't rerun the current route's loaders. */
|
|
export const loader = async () => {
|
|
return resolveLayoutData(getUser());
|
|
};
|