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

Commit 8ab64cf

Browse files
committed
Update prop types
1 parent 2a62d24 commit 8ab64cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functions/getPagePropTypes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export const postPropTypes = {
4949
excerpt: PropTypes.string,
5050
featuredImage: PropTypes.object,
5151
...seoPropTypes,
52-
slug: PropTypes.string,
52+
slug: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
5353
title: PropTypes.string,
5454
uri: PropTypes.string
5555
})

0 commit comments

Comments
 (0)