Phase4
This commit is contained in:
13
apps/web/src/app/[locale]/servers/[id]/backups/page.tsx
Normal file
13
apps/web/src/app/[locale]/servers/[id]/backups/page.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import { setRequestLocale } from "next-intl/server";
|
||||
import { ServerBackups } from "@/components/servers/server-backups";
|
||||
|
||||
interface ServerBackupsPageProps {
|
||||
params: Promise<{ locale: string; id: string }>;
|
||||
}
|
||||
|
||||
export default async function ServerBackupsPage({ params }: ServerBackupsPageProps) {
|
||||
const { locale, id } = await params;
|
||||
setRequestLocale(locale);
|
||||
|
||||
return <ServerBackups serverId={id} />;
|
||||
}
|
||||
13
apps/web/src/app/[locale]/servers/[id]/worlds/page.tsx
Normal file
13
apps/web/src/app/[locale]/servers/[id]/worlds/page.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import { setRequestLocale } from "next-intl/server";
|
||||
import { ServerWorlds } from "@/components/servers/server-worlds";
|
||||
|
||||
interface ServerWorldsPageProps {
|
||||
params: Promise<{ locale: string; id: string }>;
|
||||
}
|
||||
|
||||
export default async function ServerWorldsPage({ params }: ServerWorldsPageProps) {
|
||||
const { locale, id } = await params;
|
||||
setRequestLocale(locale);
|
||||
|
||||
return <ServerWorlds serverId={id} />;
|
||||
}
|
||||
Reference in New Issue
Block a user