chore: Fixed linter warnings
This commit is contained in:
parent
56df5d5287
commit
2234155052
70 changed files with 103 additions and 309 deletions
|
@ -74,7 +74,7 @@ const PostPage = ({ post, author }) => {
|
|||
href="#author"
|
||||
className="text-secondary hover:text-secondary-focus"
|
||||
>
|
||||
{author?.displayname || 'FIXME: No displayname'}
|
||||
{author.displayname || 'FIXME: No displayname'}
|
||||
</a>
|
||||
</span>
|
||||
</div>
|
||||
|
@ -99,17 +99,6 @@ const PostPage = ({ post, author }) => {
|
|||
</article>
|
||||
</Page>
|
||||
)
|
||||
|
||||
return (
|
||||
<Page app={app} title='Blog' slug='blog'>
|
||||
<article className="mb-12">
|
||||
<div className="strapi prose lg:prose-lg mb-12 m-auto">
|
||||
<MdxWrapper mdx={props.post.mdx} />
|
||||
</div>
|
||||
</article>
|
||||
<Author author={author} type={props.type} t={props.t}/>
|
||||
</Page>
|
||||
)
|
||||
}
|
||||
|
||||
export const getStaticProps = async (props) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue