14 lines
373 B
TypeScript
14 lines
373 B
TypeScript
export async function onBeforeRender(pageContext: PageContext) {
|
|
return {
|
|
pageContext: {
|
|
pageProps: {
|
|
logged_in: Boolean(pageContext.current_user),
|
|
},
|
|
status: pageContext.current_user ? 200 : 401,
|
|
},
|
|
};
|
|
}
|
|
|
|
export const description = "Found a cheater in Car Crushers 2? Report them here.";
|
|
export const title = "Report - Car Crushers";
|