mirror of
https://github.com/documenso/documenso.git
synced 2025-11-24 13:41:30 +10:00
22 lines
587 B
TypeScript
22 lines
587 B
TypeScript
import type { Metadata } from 'next';
|
|
|
|
import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
|
|
|
|
import { SinglePlayerClient } from './client';
|
|
|
|
export const metadata: Metadata = {
|
|
title: 'Singleplayer',
|
|
};
|
|
|
|
export const revalidate = 0;
|
|
export const dynamic = 'force-dynamic';
|
|
|
|
// !: This entire file is a hack to get around failed prerendering of
|
|
// !: the Single Player Mode page. This regression was introduced during
|
|
// !: the upgrade of Next.js to v13.5.x.
|
|
export default function SingleplayerPage() {
|
|
setupI18nSSR();
|
|
|
|
return <SinglePlayerClient />;
|
|
}
|