Skip to content

Commit

Permalink
Fix regression with fof/pages homepage introduced in 1.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
dsevillamartin committed Jul 2, 2023
1 parent 57b11c0 commit 554b079
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/src/forum/components/PagePage.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default class PagePage extends Page {
const page = this.page;

return (
<div className={classList('Pages', page.isHtml() && 'Pages--isHtml')} data-id={page.id()} data-slug={page.slug()}>
<div className={classList('Pages', page?.isHtml() && 'Pages--isHtml')} data-id={page?.id()} data-slug={page?.slug()}>
<div className="Pages-page">
{page
? [
Expand Down

0 comments on commit 554b079

Please sign in to comment.