Update nextjs to 12.1

* update modify post save to db
* Update concurrent fectures
* Update exist post
This commit is contained in:
DefectingCat
2022-02-18 11:21:05 +08:00
parent 7f66c3eade
commit 1cf58e9f9b
9 changed files with 177 additions and 102 deletions

View File

@ -6,11 +6,8 @@ import remarkRehype from 'remark-rehype';
import rehypeRaw from 'rehype-raw';
import rehypeSlug from 'rehype-slug';
import rehypeReact from 'rehype-react';
import dynamic from 'next/dynamic';
import cn from 'classnames';
const Link = dynamic(() => import('components/RUA/RUALink'));
interface Props {
content: string;
}