diff --git a/frontend/src/components/layout/MainArea.tsx b/frontend/src/components/layout/MainArea.tsx index 8839ebc..273793d 100644 --- a/frontend/src/components/layout/MainArea.tsx +++ b/frontend/src/components/layout/MainArea.tsx @@ -8,8 +8,7 @@ type Props = { export default (({ children, className }: Props) => ( -
{children}
)) satisfies FC diff --git a/frontend/src/pages/materials/MaterialBasePage.tsx b/frontend/src/pages/materials/MaterialBasePage.tsx index 69d6a33..467ef58 100644 --- a/frontend/src/pages/materials/MaterialBasePage.tsx +++ b/frontend/src/pages/materials/MaterialBasePage.tsx @@ -6,7 +6,8 @@ import type { FC } from 'react' export default (() => ( -
+
)) satisfies FC diff --git a/frontend/src/pages/posts/PostDetailPage.tsx b/frontend/src/pages/posts/PostDetailPage.tsx index a15f035..518b914 100644 --- a/frontend/src/pages/posts/PostDetailPage.tsx +++ b/frontend/src/pages/posts/PostDetailPage.tsx @@ -93,7 +93,8 @@ export default (({ user }: Props) => { : 'bg-gray-500 hover:bg-gray-600') return ( -
+
{(post?.thumbnail || post?.thumbnailBase) && ( )} diff --git a/frontend/src/pages/posts/PostListPage.tsx b/frontend/src/pages/posts/PostListPage.tsx index 8fc4ba8..979c75e 100644 --- a/frontend/src/pages/posts/PostListPage.tsx +++ b/frontend/src/pages/posts/PostListPage.tsx @@ -69,7 +69,10 @@ export default (() => { }, [location.search]) return ( -
+
{tags.length