Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

Commit 260f6a7

Browse files
author
Mike England
committed
Fix HomePage linter error
1 parent 0ca8bfd commit 260f6a7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pages/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import PropTypes from 'prop-types'
12
import getPostTypeStaticProps from '@/api/wordpress/_global/getPostTypeStaticProps'
23
import Layout from '@/components/common/Layout'
34
import Hero from '@/components/molecules/Hero'
@@ -51,6 +52,10 @@ export default function HomePage({post}) {
5152
)
5253
}
5354

55+
HomePage.propTypes = {
56+
post: PropTypes.object
57+
}
58+
5459
/**
5560
* Get post static props.
5661
*

0 commit comments

Comments
 (0)