Wire admin studio SSR and search infrastructure
This commit is contained in:
@@ -3,6 +3,7 @@ import Breadcrumbs from '../../components/forum/Breadcrumbs'
|
||||
import PostCard from '../../components/forum/PostCard'
|
||||
import ReplyForm from '../../components/forum/ReplyForm'
|
||||
import Pagination from '../../components/forum/Pagination'
|
||||
import SeoHead from '../../components/seo/SeoHead'
|
||||
|
||||
export default function ForumThread({
|
||||
thread,
|
||||
@@ -21,6 +22,7 @@ export default function ForumThread({
|
||||
csrfToken = '',
|
||||
status = null,
|
||||
captcha = {},
|
||||
seo = {},
|
||||
}) {
|
||||
const [currentSort, setCurrentSort] = useState(sort)
|
||||
|
||||
@@ -41,7 +43,9 @@ export default function ForumThread({
|
||||
}, [currentSort])
|
||||
|
||||
return (
|
||||
<div className="px-4 pt-10 pb-20 sm:px-6 lg:px-8 max-w-5xl mx-auto space-y-5">
|
||||
<>
|
||||
<SeoHead seo={seo} />
|
||||
<div className="px-4 pt-10 pb-20 sm:px-6 lg:px-8 max-w-5xl mx-auto space-y-5">
|
||||
<Breadcrumbs items={breadcrumbs} />
|
||||
|
||||
{/* Status flash */}
|
||||
@@ -176,6 +180,7 @@ export default function ForumThread({
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user