mirror of
https://github.com/Radiquum/AniX.git
synced 2025-05-01 02:19:41 +05:00
force-static on pages
This commit is contained in:
parent
628b3870d8
commit
9f80ff3262
14 changed files with 904 additions and 670 deletions
|
@ -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 />;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue