add slug page

This commit is contained in:
DefectingCat
2023-05-16 16:45:28 +08:00
parent ecf63f146f
commit c8f7e65f80
9 changed files with 98 additions and 8 deletions

View File

@ -1,3 +1,5 @@
'use client';
import clsx from 'clsx';
import CopyButton from 'components/post/copy-button';
import useCopyToClipboard from 'lib/hooks/use-copy-to-clipboard';
@ -42,4 +44,4 @@ const Pre = ({ ...rest }: Props) => {
);
};
export default memo(Pre);
export default memo(Pre);