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

Commit bd3a71f

Browse files
committed
Remove duplicate proptypes
1 parent 536e03a commit bd3a71f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

pages/index.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import PropTypes from 'prop-types'
21
import getPostTypeStaticProps from '@/api/wordpress/_global/getPostTypeStaticProps'
32
import Layout from '@/components/common/Layout'
43
import Hero from '@/components/molecules/Hero'
@@ -38,10 +37,6 @@ export default function HomePage({post}) {
3837
)
3938
}
4039

41-
HomePage.propTypes = {
42-
post: PropTypes.object
43-
}
44-
4540
/**
4641
* Get post static props.
4742
*

0 commit comments

Comments
 (0)