force-static on pages

This commit is contained in:
Kentai Radiquum 2025-02-10 06:53:15 +05:00
parent 628b3870d8
commit 9f80ff3262
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
14 changed files with 904 additions and 670 deletions

View file

@ -1,18 +1,10 @@
import { CreateCollectionPage } from "#/pages/CreateCollection";
import dynamic from "next/dynamic";
export const metadata = {
title: "Создание коллекции",
description: "Создание новой коллекции",
};
const CreateCollectionDynamic = dynamic(
() => Promise.resolve(CreateCollectionPage),
{
ssr: false,
}
);
export default function Collections() {
return <CreateCollectionDynamic />;
return <CreateCollectionPage />;
}